Submission #1307638

#TimeUsernameProblemLanguageResultExecution timeMemory
13076383lektraStove (JOI18_stove)C++20
Compilation error
0 ms0 KiB
//#include "grader.h" //#include "cluedo.h" #include <bits/stdc++.h> using namespace std; // PLEASE I'M TRYING TO QUIT MURDLE AND THIS AINT MAKING IT EASIER // 20 = 2·10 --> Try two times to guess /* M -> 62.5 L -> 25 W -> 12.5 */ void Solve(){ int r; int a = 1, b = 1, c = 1; while(r != 0){ r = Theory(a, b, c); if(r == 0) return; if(r == 3) c++; else if(r == 2) b++; else a++; } }

Compilation message (stderr)

stove.cpp: In function 'void Solve()':
stove.cpp:22:11: error: 'Theory' was not declared in this scope
   22 |       r = Theory(a, b, c);
      |           ^~~~~~