# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1165265 | ind1v | Cluedo (IOI10_cluedo) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
#include "cluedo.h"
using namespace std;
void Solve() {
array<int, 3> a = {1, 1, 1};
while (true) {
int r = Theory(a[0], a[1], a[2]);
if (r == 0) {
return;
}
a[r - 1]++;
}
}