제출 #699552

#제출 시각아이디문제언어결과실행 시간메모리
69955279brueCluedo (IOI10_cluedo)C++17
100 / 100
12 ms292 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

void Solve(){
    vector<int> stA, stB, stC;
    for(int i=1; i<=6; i++) stA.push_back(i);
    for(int i=1; i<=10; i++) stB.push_back(i);
    for(int i=1; i<=6; i++) stC.push_back(i);
    while(1){
        int a = stA.back(), b = stB.back(), c = stC.back();
        int v = Theory(a, b, c);
        if(!v) return;
        if(v==1) stA.pop_back();
        if(v==2) stB.pop_back();
        if(v==3) stC.pop_back();
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...