제출 #199414

#제출 시각아이디문제언어결과실행 시간메모리
199414shashwatchandraCluedo (IOI10_cluedo)C++17
0 / 100
5 ms376 KiB
#include "grader.h" #include "cluedo.h" #include<bits/stdc++.h> using namespace std; void Solve(){ set<int> a[3]; for(int i = 1;i <= 10;i++){ if(i <= 6){ a[1].insert(i); } a[0].insert(i); a[2].insert(i); } while(a[0].size()+a[1].size()+a[2].size() > 3){ int wow = Theory(*a[0].begin(),*a[1].begin(),*a[2].begin()); if(wow == 0)return; wow--; a[wow].erase(a[wow].begin()); } Theory(*a[0].begin(),*a[1].begin(),*a[2].begin()); return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...