Submission #733527

#TimeUsernameProblemLanguageResultExecution timeMemory
733527MauveCave (IOI13_cave)C++14
13 / 100
12 ms384 KiB
#include "cave.h" void exploreCave(int N) { int i,j,a[N],pos[N],k; for(i=0;i<N;i++) a[i]=0; for(i=0;i<N;i++){ a[i]=1; pos[i]=tryCombination(a); a[i]=0; } answer(a,pos); }

Compilation message (stderr)

cave.cpp: In function 'void exploreCave(int)':
cave.cpp:4:11: warning: unused variable 'j' [-Wunused-variable]
    4 |     int i,j,a[N],pos[N],k;
      |           ^
cave.cpp:4:25: warning: unused variable 'k' [-Wunused-variable]
    4 |     int i,j,a[N],pos[N],k;
      |                         ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...