| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1109055 | m_bezrutchka | Cluedo (IOI10_cluedo) | C++14 | 18 ms | 588 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "grader.h"
#include "cluedo.h"
bool bad[11][3];
void Solve(){
for (int i = 0; i < 3; i++) {
for (int j = 0; j <= 10; j++) {
bad[j][i] = false;
}
}
for (int a = 1; a <= 6; a++) {
for (int b = 1; b <= 10; b++) {
for (int c = 1; c <= 6; c++) {
if (bad[a][0] || bad[b][1] || bad[c][2]) continue;
int resp = Theory(a, b, c);
if (resp == 0) {
return;
}
if (resp == 1) bad[a][0] = true;
if (resp == 2) bad[b][1] = true;
if (resp == 3) bad[c][2] = true;
}
}
}
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
