Submission #772161

# Submission time Handle Problem Language Result Execution time Memory
772161 2023-07-03T17:16:01 Z Dan4Life Cluedo (IOI10_cluedo) C
0 / 100
3 ms 208 KB
void Solve() {
  int A = 1, B = 1, C = 1;
  while (Theory(A, B, C) && (A = A % 7 + 1) && (B = B % 11 + 1) && (C = C % 7 + 1));
}

Compilation message

cluedo.c: In function 'Solve':
cluedo.c:3:10: warning: implicit declaration of function 'Theory' [-Wimplicit-function-declaration]
    3 |   while (Theory(A, B, C) && (A = A % 7 + 1) && (B = B % 11 + 1) && (C = C % 7 + 1));
      |          ^~~~~~
# Verdict Execution time Memory Grader output
1 Failed 0 ms 208 KB wrong parameter
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Failed 3 ms 208 KB wrong parameter
2 Halted 0 ms 0 KB -