Submission #1198918

#TimeUsernameProblemLanguageResultExecution timeMemory
1198918argsxCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
#include "cluedo.h"
using namespace std;
void solve(){
    int a=1,b=1,c=1;
    int atb=1;
    while(atb!=0){
        atb=Theory(a,b,c);
        if(atb==1)a++;
        if(atb==2)b++;
        if(atb==3)c++;
    }
    return ;
}

Compilation message (stderr)

cluedo.cpp: In function 'void solve()':
cluedo.cpp:8:13: error: 'Theory' was not declared in this scope
    8 |         atb=Theory(a,b,c);
      |             ^~~~~~