Submission #974972

#TimeUsernameProblemLanguageResultExecution timeMemory
974972n3rm1nRobots (IOI13_robots)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "robots.h" #include "robots.cpp" #define MAX_A 50000 #define MAX_B 50000 #define MAX_T 500000 using namespace std; int X[MAX_A]; int Y[MAX_B]; int W[MAX_T]; int S[MAX_T]; int main() { int A, B, T, i; int res; cin >> A >> B >> T; for (i = 0; i < A; i++) { cin >> X[i]; } for (i = 0; i < B; i++) { cin >> Y[i]; } for (i = 0; i < T; i++) { cin >> W[i] >> S[i]; } int answer = putaway(A, B, T, X, Y, W, S); cout << answer << endl; return 0; } /*** 3 2 10 6 2 9 4 7 4 6 8 5 2 3 7 9 1 8 5 1 3 3 8 7 7 6 10 5 2 0 2 15 15 7 8 5 6 2 0 2 20 1 10 10 10 10 */

Compilation message (stderr)

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