Submission #916573

#TimeUsernameProblemLanguageResultExecution timeMemory
916573WansurParrots (IOI11_parrots)C++14
Compilation error
0 ms0 KiB
void encode(int n, int a[]){ for(int i=0;i<n;i++){ a[i]=0; } }
void decode(int m, int n, int a[]){ for(int i=0;i<m;i++){ output(0); } }

Compilation message (stderr)

decoder.cpp: In function 'void decode(int, int, int*)':
decoder.cpp:3:3: error: 'output' was not declared in this scope
    3 |   output(0);
      |   ^~~~~~