제출 #802755

#제출 시각아이디문제언어결과실행 시간메모리
802755farukAncient Books (IOI17_books)C++17
컴파일 에러
0 ms0 KiB
#include "books.cpp" #include <cstdio> #include <vector> #include <cassert> using namespace std; int main() { int n, s; assert(2 == scanf("%d %d", &n, &s)); vector<int> p((unsigned) n); for(int i = 0; i < n; i++) assert(1 == scanf("%d", &p[(unsigned) i])); long long res = minimum_walk(p, s); printf("%lld\n", res); return 0; }

컴파일 시 표준 에러 (stderr) 메시지

books.cpp:1:10: fatal error: books.cpp: No such file or directory
    1 | #include "books.cpp"
      |          ^~~~~~~~~~~
compilation terminated.