Submission #57594

#TimeUsernameProblemLanguageResultExecution timeMemory
57594kimjg1119Parrots (IOI11_parrots)C11
Compilation error
0 ms0 KiB
#include "encoder.h" #include "encoderlib.h" void encode(int N, int M[]) { int i, a; for(i=0; i<N; i++) { a=M[i]+(i+1)*10; send(a); } }
#include<stdio.h> #include "decoder.h" #include "decoderlib.h" #include<algorithm> using namespace std; void decode(int N, int L, int X[]) { int i, H[100], b; for(i=0; i<L; i++) { H[i] = X[i]; } sort(H,H+8); for(i=0; i<L; i++) { b=H[i]%10; output(b); } }

Compilation message (stderr)

grader_decoder.c: In function 'main':
grader_decoder.c:86:2: warning: implicit declaration of function 'fcloseall'; did you mean 'fclose'? [-Wimplicit-function-declaration]
  fcloseall();
  ^~~~~~~~~
  fclose
decoder.c:4:9: fatal error: algorithm: No such file or directory
 #include<algorithm>
         ^~~~~~~~~~~
compilation terminated.