Submission #428201

#TimeUsernameProblemLanguageResultExecution timeMemory
428201HazemArranging Shoes (IOI19_shoes)C++14
Compilation error
0 ms0 KiB
#include "shoes.cpp" #include <cstdio> #include <cassert> using namespace std; int main() { int n; assert(1 == scanf("%d", &n)); vector<int> S(2 * n); for (int i = 0; i < 2 * n; i++) assert(1 == scanf("%d", &S[i])); fclose(stdin); long long result = count_swaps(S); printf("%lld\n", result); fclose(stdout); return 0; }

Compilation message (stderr)

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