Submission #248603

#TimeUsernameProblemLanguageResultExecution timeMemory
248603davi_bartParrots (IOI11_parrots)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "encoder.h" #include "encoderlib.h" using namespace std; typedef long long ll; void encode(int N,int M[]){ for(int i=0;i<N;i++){ for(int j=0;j<8;j++){ if(M[i]&(1<<j))send(i+(j<<5)); } } }
#include <bits/stdc++.h> #include "encoder.h" #include "encoderlib.h" using namespace std; typedef long long ll; void encode(int N,int M[]){ for(int i=0;i<N;i++){ for(int j=0;j<8;j++){ if(M[i]&(1<<j))send(i+(j<<5)); } } }

Compilation message (stderr)

/tmp/cc8W0WUx.o: In function `main':
grader_decoder.cpp:(.text.startup+0x1f6): undefined reference to `decode(int, int, int*)'
/tmp/ccwOJiCf.o: In function `encode(int, int*)':
decoder.cpp:(.text+0x44): undefined reference to `send(int)'
collect2: error: ld returned 1 exit status