제출 #396560

#제출 시각아이디문제언어결과실행 시간메모리
396560ak2006Cluedo (IOI10_cluedo)C++14
100 / 100
15 ms212 KiB
#include <bits/stdc++.h>
#include <grader.h>
#include <cluedo.h>
using namespace std;
void Solve()
{
    int i = 1,j = 1,k = 1;
    int pos = Theory(i,j,k);
    while (pos != 0){
        if (pos == 1)i++;
        if (pos == 2)j++;
        if (pos == 3)k++;
        pos = Theory(i,j,k);
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...