제출 #758614

#제출 시각아이디문제언어결과실행 시간메모리
758614SanguineChameleonCluedo (IOI10_cluedo)C++17
100 / 100
12 ms276 KiB
#include "grader.h" #include "cluedo.h" #include <bits/stdc++.h> using namespace std; void Solve() { vector<int> murderer(6); vector<int> location(10); vector<int> weapon(6); iota(murderer.begin(), murderer.end(), 1); iota(location.begin(), location.end(), 1); iota(weapon.begin(), weapon.end(), 1); int res = 0; while ((res = Theory(murderer.back(), location.back(), weapon.back()))) { if (res == 1) { murderer.pop_back(); } if (res == 2) { location.pop_back(); } if (res == 3) { weapon.pop_back(); } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...