Submission #103286

#TimeUsernameProblemLanguageResultExecution timeMemory
103286aviroop123Combo (IOI18_combo)C++14
10 / 100
113 ms480 KiB
#include<bits/stdc++.h> #include "combo.h" using namespace std; string guess_sequence(int N){ string s = ""; vector<char> v = {'A', 'B', 'X', 'Y'}; for(int i = 1; i <= N; i++){ for(char ch : v){ s += ch; if(press(s) == i) break; s.pop_back(); } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...