Submission #313532

#TimeUsernameProblemLanguageResultExecution timeMemory
313532IWANTTOGETGOLDINIOICombo (IOI18_combo)C++14
0 / 100
0 ms200 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; #define REP(i,n) for(int i=0; i<(n); i++) string guess_sequence(int N) { string possible = "ABXY"; REP(i,N){ int nxtguess = press("ABXY"); if (nxtguess == 3) { possible = "ABX"; } if (nxtguess == 2) { possible = "AB"; } if (nxtguess == 1) { possible = "A"; } } return possible; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...