Submission #917040

#TimeUsernameProblemLanguageResultExecution timeMemory
917040manishjha91Cave (IOI13_cave)C++17
Compilation error
0 ms0 KiB
#include "cave.h" #include <bits/stdc++.h> void exploreCave(int N) { int a[N]; memset(a,0,sizeof a); int d[N]; for(int i=0; i<N; i++) d[i] = i; int i=tryComnination(a); while(i!=-1) { a[i] ^=1; i = tryCombination(a); } answer(a,d); }

Compilation message (stderr)

cave.cpp: In function 'void exploreCave(int)':
cave.cpp:10:11: error: 'tryComnination' was not declared in this scope; did you mean 'tryCombination'?
   10 |     int i=tryComnination(a);
      |           ^~~~~~~~~~~~~~
      |           tryCombination