제출 #868844

#제출 시각아이디문제언어결과실행 시간메모리
868844AtabayRajabli동굴 (IOI13_cave)C++17
0 / 100
188 ms508 KiB
#include "cave.h" void exploreCave(int n) { int a[n] = {0}, ans[n], d[n]; int q = 0; int j = 0; while(j < n) { int q = tryCombination(a); for(; j<q; j++) { ans[j] = a[j]; d[j] = j; } if(j < n)a[j] ^= a[j]; } answer(ans, d); }

컴파일 시 표준 에러 (stderr) 메시지

cave.cpp: In function 'void exploreCave(int)':
cave.cpp:5:6: warning: unused variable 'q' [-Wunused-variable]
    5 |  int q = 0;
      |      ^
#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...