Submission #519165

#TimeUsernameProblemLanguageResultExecution timeMemory
519165AdamGSCluedo (IOI10_cluedo)C++17
100 / 100
15 ms256 KiB
#include "grader.h" #include "cluedo.h" #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; #define rep(a, b) for(int a = 0; a < (b); ++a) #define st first #define nd second #define pb push_back #define all(a) a.begin(), a.end() void Solve(){ int a=1, b=1, c=1; int x=Theory(a, b, c); while(x) { if(x==1) ++a; else if(x==2) ++b; else ++c; x=Theory(a, b, c); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...