Submission #749938

#TimeUsernameProblemLanguageResultExecution timeMemory
749938vjudge1Combo (IOI18_combo)C++17
0 / 100
84 ms208 KiB
#include"combo.h" #include<bits/stdc++.h> #define ll long long #define endl "\n" using namespace std; char a[4] = {'A', 'B', 'X', 'Y'}; int n; string guess_sequence(int N) { n = N; string s = ""; for(int i = 1; i <= n; i++) { int loc = 0; int ret = 0; while(ret != i) ret = press(s + a[loc]); s += a[loc]; } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...