Submission #1014596

#TimeUsernameProblemLanguageResultExecution timeMemory
1014596shubhamphpefyCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
void solve()
{
   for(int i=1;i<=6;i++)
   {
      for(int j=1;j<=10;j++)
      {
         for(int k=1;k<=6;k++)
         {
            int ans = Theory(i, j, k);
            if(ans == 0)return;
         }
      }
   }
}

Compilation message (stderr)

cluedo.cpp: In function 'void solve()':
cluedo.cpp:9:23: error: 'Theory' was not declared in this scope
    9 |             int ans = Theory(i, j, k);
      |                       ^~~~~~