Submission #1091009

#TimeUsernameProblemLanguageResultExecution timeMemory
1091009AndreasKCave (IOI13_cave)C++14
Compilation error
0 ms0 KiB
#include "cave.h" void exploreCave(int N) { answer({1,0,1},{1,0,1}); }

Compilation message (stderr)

cave.cpp: In function 'void exploreCave(int)':
cave.cpp:4:27: error: cannot convert '<brace-enclosed initializer list>' to 'int*'
    4 |     answer({1,0,1},{1,0,1});
      |                           ^
      |                           |
      |                           <brace-enclosed initializer list>
In file included from cave.cpp:1:
cave.h:9:17: note:   initializing argument 1 of 'void answer(int*, int*)'
    9 | void answer(int S[], int D[]);
      |             ~~~~^~~