Submission #892823

#TimeUsernameProblemLanguageResultExecution timeMemory
892823LCJLYCluedo (IOI10_cluedo)C++14
100 / 100
6 ms596 KiB
#include "grader.h" #include "cluedo.h" #include <bits/stdc++.h> using namespace std; void Solve(){ //bool done=false; //bool done2=false; //bool done3=false; int ptr=1; int ptr2=1; int ptr3=1; while(1){ int hold=Theory(ptr,ptr2,ptr3); if(hold==0) return; if(hold==1) ptr++; else if(hold==2) ptr2++; else ptr3++; //cout << ptr << " " << ptr2 << " " << ptr3 << endl; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...