제출 #1018250

#제출 시각아이디문제언어결과실행 시간메모리
1018250ArthuroWichCluedo (IOI10_cluedo)C++17
100 / 100
7 ms344 KiB
#include "grader.h" #include "cluedo.h" #include<bits/stdc++.h> using namespace std; void Solve(){ srand(time(NULL)); vector<int> a, b, c; for (int i = 1; i <= 6; i++) { a.push_back(i); b.push_back(i); c.push_back(i); } for (int i = 7; i <= 10; i++) { b.push_back(i); } random_shuffle(a.begin(), a.end()); random_shuffle(b.begin(), b.end()); random_shuffle(c.begin(), c.end()); int i = 0, j = 0, k = 0; while(1) { int v = Theory(a[i], b[j], c[k]); if (v == 0) { return; } else if (v == 1) { i++; } else if (v == 2) { j++; } else if (v == 3) { k++; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...