이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "cluedo.h"
#include "grader.h"
using namespace std;
void Solve() {
int M = 1;
int L = 1;
int W = 1;
while (true) {
int result = Theory(M, L, W);
if (result == 0) {
return;
}
else if (result == 1) {
M++;
}
else if (result == 2) {
L++;
}
else if (result == 3) {
W++;
}
if (M > 6) M = 1;
if (L > 10) L = 1;
if (W > 6) W = 1;
}
return;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |