Submission #767876

#TimeUsernameProblemLanguageResultExecution timeMemory
767876benjaminkleynCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" #include <bits/stdc++.h> using namespace std; void Solve() { int M = 1, L = 1, W = 1, res; while (res = solve(M, L, W)) { if (res == 1) M++; else if (res == 2) L++; else if (res == 3) W++; else break; } return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:9:18: error: 'solve' was not declared in this scope; did you mean 'Solve'?
    9 |     while (res = solve(M, L, W))
      |                  ^~~~~
      |                  Solve