제출 #313667

#제출 시각아이디문제언어결과실행 시간메모리
313667baibhav26062008콤보 (IOI18_combo)C++14
0 / 100
1 ms328 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 dir="ABXY"; REP(i,8000)dir+="ABXY"; string s=""; int x=0; REP(i,8000){ s=""; REP(j,8000){ for(int k=i;k<j;k++){ s+=dir[x]; cout << s << endl; if(press(s)==N){ return s; } x++; } } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...