Submission #956593

# Submission time Handle Problem Language Result Execution time Memory
956593 2024-04-02T08:01:52 Z DeltaStruct Cluedo (IOI10_cluedo) C++17
Compilation error
0 ms 0 KB
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

void Solve(){
  vector<int> A(3,1); int r; do { r = Theory(A[0],A[1],A[2]); if (r) ++A[r-1]; } while(r);
}

Compilation message

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:39: error: 'Theory' was not declared in this scope
    6 |   vector<int> A(3,1); int r; do { r = Theory(A[0],A[1],A[2]); if (r) ++A[r-1]; } while(r);
      |                                       ^~~~~~