Submission #548516

# Submission time Handle Problem Language Result Execution time Memory
548516 2022-04-13T17:10:39 Z krit3379 Cluedo (IOI10_cluedo) C++17
Compilation error
0 ms 0 KB
#include<bits/stdc++.h>
using namespace std;
#include"cluedo.h"
#define N 100005

void Solve(){
    int a[3]={1,1,1},x;
    while(x=Theory(a[0],a[1],a[2]))a[x-1]++;
    return ;
}

Compilation message

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:13: error: 'Theory' was not declared in this scope
    8 |     while(x=Theory(a[0],a[1],a[2]))a[x-1]++;
      |             ^~~~~~