Submission #883299

# Submission time Handle Problem Language Result Execution time Memory
883299 2023-12-05T05:47:34 Z klee Cluedo (IOI10_cluedo) C++14
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
using namespace std;
int main()
{
  int r = -1; int m = 1; int l = 1; int w = 1;
  r = Theory(m,l,w);
  while (r > 0) {
    if (r == 1) m++;
    if (r == 2) l++;
    if (r == 3) w++;
    r = Theory(m,l,w);
  }
}

Compilation message

cluedo.cpp: In function 'int main()':
cluedo.cpp:6:7: error: 'Theory' was not declared in this scope
    6 |   r = Theory(m,l,w);
      |       ^~~~~~