Submission #235084

#TimeUsernameProblemLanguageResultExecution timeMemory
235084jam_xd_Cave (IOI13_cave)C++17
Compilation error
0 ms0 KiB
#include "cave.h" #include "bits/stdc++.h" using namespace std; void exploreCave(int N) { vector<int>S(N); vector<int>D(N); for(int i = 0 ; i < N ; ++i){ S[i] = 0; D[i] = i; } answer(S, D); }

Compilation message (stderr)

cave.cpp: In function 'void exploreCave(int)':
cave.cpp:17:16: error: cannot convert 'std::vector<int>' to 'int*' for argument '1' to 'void answer(int*, int*)'
     answer(S, D);
                ^