제출 #1238563

#제출 시각아이디문제언어결과실행 시간메모리
1238563feukicCluedo (IOI10_cluedo)C11
0 / 100
0 ms392 KiB
void Solve() { int i = 0, j = 0, k = 0; int n = Theory(i, j, k); while (n) { if (n == 1) { n = Theory(++i, j, k); } else if (n == 2) { n = Theory(i, ++j, k); } else if (n == 3) { n = Theory(i, j, ++k); } else { return; } } }

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

cluedo.c: In function 'Solve':
cluedo.c:3:13: warning: implicit declaration of function 'Theory' [-Wimplicit-function-declaration]
    3 |     int n = Theory(i, j, k);
      |             ^~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...