Submission #1284159

#TimeUsernameProblemLanguageResultExecution timeMemory
1284159muhammad-mutahirCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
// #include "grader.h" #include "cluedo.h" #include <bits/stdc++.h> using namespace std; void Solve(){ int r = 1; int m = 1; int l = 1; int w = 1; while(r != 0){ r = Theory(m,l,w); if(r == 1){ m++; } else if(r == 2){ l++; } else{ w++; } return ; } // if (r == 0) return; // r = Theory(3,2,1); // if (r == 0) return; // r = Theory(4,4,4); // if (r == 0) return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:12:13: error: 'Theory' was not declared in this scope
   12 |         r = Theory(m,l,w);
      |             ^~~~~~