Submission #883299

#TimeUsernameProblemLanguageResultExecution timeMemory
883299kleeCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#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 (stderr)

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