Submission #494935

#TimeUsernameProblemLanguageResultExecution timeMemory
494935fusabileCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;

#ifdef LOCAL
#include "dbg.h"
#else
#define dbg(...)
#endif
#define sz(s) (int)(s).size()
#define all(x) (x).begin(), (x).end()
#include "cluedo.h"
typedef long long ll;

void Solve()
{
	int a = 1, b = 1, c = 1;
	while (1)
	{
		int x = Theory(a, b, c);
		if (!x) return;
		a += (x == 1);
		b += (x == 2);
		c += (x == 3);
	}
}

Compilation message (stderr)

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