Submission #916569

#TimeUsernameProblemLanguageResultExecution timeMemory
916569WansurParrots (IOI11_parrots)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #define f first #define s second #define ent '\n'; using namespace std; typedef long long ll; const int mx=2e5+12; void output(int b); void send(int a); void decode(int m, int n, int a[]){ for(int i=0;i<m;i++){ output(0); } } void encode(int n, int a[]){ for(int i=0;i<n;i++){ a[i]=0; } }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccR55NTh.o: in function `decode(int, int, int*)':
encoder.cpp:(.text+0x1e): undefined reference to `output(int)'
collect2: error: ld returned 1 exit status

/usr/bin/ld: /tmp/ccA7iUM4.o: in function `main':
grader_decoder.cpp:(.text.startup+0x1ef): undefined reference to `decode(int, int, int*)'
collect2: error: ld returned 1 exit status