Submission #1180972

#TimeUsernameProblemLanguageResultExecution timeMemory
1180972hamzabcCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; #define all(x) x.begin(), x.end() #define mod 1000000007 #define sp << " " << #define endl << '\n' int solve(){ long long int M = 1, L = 1, W = 1; while (true){ int k = Theory(M, L, W); if (k == 0) break; if (k == 1) M++; if (k == 2) L++; if (k == 3) W++; } return 0; }

Compilation message (stderr)

cluedo.cpp: In function 'int solve()':
cluedo.cpp:15:17: error: 'Theory' was not declared in this scope
   15 |         int k = Theory(M, L, W);
      |                 ^~~~~~