Submission #542109

#TimeUsernameProblemLanguageResultExecution timeMemory
542109starchanCluedo (IOI10_cluedo)C++17
100 / 100
13 ms220 KiB
#include <bits/stdc++.h> #include "cluedo.h" #include "grader.h" using namespace std; #define in pair<int, int> #define f first #define s second #define pb push_back #define pob pop_back #define INF 1e17 #define zero (int)0 #define MX (int)3e5+5 #define fast() ios_base::sync_with_stdio(false); cin.tie(NULL); const int mod = 1e9+7; //may change to that 99.. number. void Solve() { int ok[3]; ok[0]=ok[1]=ok[2]=1; while(true) { int hi = Theory(ok[0], ok[1], ok[2]); if(hi == 0) break; ok[hi-1]++; } return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...