Submission #1144044

#TimeUsernameProblemLanguageResultExecution timeMemory
1144044SmuggingSpunCluedo (IOI10_cluedo)C++20
100 / 100
3 ms412 KiB
#include "grader.h" #include "cluedo.h" #include<bits/stdc++.h> using namespace std; void Solve(){ vector<vector<int>>ans = {{1, 2, 3, 4, 5, 6}, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, {1, 2, 3, 4, 5, 6}}; for(int _ = 0; _ < 20; _++){ int x = Theory(ans[0].back(), ans[1].back(), ans[2].back()); if(x == 0){ break; } ans[x - 1].pop_back(); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...