Submission #964540

# Submission time Handle Problem Language Result Execution time Memory
964540 2024-04-17T05:27:23 Z UmairAhmadMirza Cluedo (IOI10_cluedo) C++14
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
#include <cluedo.h>
using namespace std;
void Solve()
{
   int i=1,j=1,k=1;
   while(1){
      int v=Theory(i,j,k);
      if(v==3)
         k++;
      else if(v==2)
         j++;
      else if(v==1)
         i++;
      else{
         break;
      }
   }
   return;
}

Compilation message

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:13: error: 'Theory' was not declared in this scope
    8 |       int v=Theory(i,j,k);
      |             ^~~~~~