Submission #1238564

#TimeUsernameProblemLanguageResultExecution timeMemory
1238564feukicCluedo (IOI10_cluedo)C11
100 / 100
3 ms392 KiB
void Solve() { int i = 1, j = 1, k = 1; 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; } } }

Compilation message (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...