Submission #715538

#TimeUsernameProblemLanguageResultExecution timeMemory
715538vjudge1Cluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
using namespace std;
void Solve()
{
    for(int a=1;a<=6;a++)
    {
        for(int b=1;b<=10;b++)
        {
            for(int c=1;c<=6;c++)
            {
                if (Theory(a,b,c)==0)
                {
                    return;
                }
            }
        }
    }
}

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:11:21: error: 'Theory' was not declared in this scope
   11 |                 if (Theory(a,b,c)==0)
      |                     ^~~~~~