Submission #715495

# Submission time Handle Problem Language Result Execution time Memory
715495 2023-03-27T04:39:54 Z vjudge1 Cluedo (IOI10_cluedo) C++17
Compilation error
0 ms 0 KB
#include "grader.h"
#include "cluedo.h"

void Solve(){
   int a[4] = {1, 1, 1, 1}, x;
   do
   {
      x = Theory(a, b, c);
      a[x]++;
   }
   while (x);
}

Compilation message

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:21: error: 'b' was not declared in this scope
    8 |       x = Theory(a, b, c);
      |                     ^
cluedo.cpp:8:24: error: 'c' was not declared in this scope
    8 |       x = Theory(a, b, c);
      |                        ^