Submission #715538

# Submission time Handle Problem Language Result Execution time Memory
715538 2023-03-27T07:35:41 Z vjudge1 Cluedo (IOI10_cluedo) C++17
Compilation error
0 ms 0 KB
#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

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)
      |                     ^~~~~~