제출 #1020068

#제출 시각아이디문제언어결과실행 시간메모리
1020068AliHasanliCluedo (IOI10_cluedo)C++17
100 / 100
8 ms384 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...