Submission #23601

#TimeUsernameProblemLanguageResultExecution timeMemory
23601sampritiParrots (IOI11_parrots)C++14
Compilation error
0 ms0 KiB
#include "grader.h" void encode(int N, int A[]) { for(int i = 0; i < N; i++) { for(int j = 0; j < 8; j++) { if(A[i] & (1 << j)) { send((i << 3) + j); } } } }
#include "grader.h" void decode(int N, int L, int X[]) { int* A = new int[N]; for(int k = 0; k < L; k++) { int i = X[k] >> 3; int j = X[k] % (1 << 3); A[i] |= (1 << j); } for(int i = 0; i < N; i++) output(A[i]); }

Compilation message (stderr)

encoder.cpp:1:10: fatal error: grader.h: No such file or directory
 #include "grader.h"
          ^~~~~~~~~~
compilation terminated.

decoder.cpp:1:10: fatal error: grader.h: No such file or directory
 #include "grader.h"
          ^~~~~~~~~~
compilation terminated.