제출 #511120

#제출 시각아이디문제언어결과실행 시간메모리
511120bebecanvas콤보 (IOI18_combo)C++14
10 / 100
80 ms532 KiB
#include "combo.h" std::string guess_sequence(int N) { std::string p = ""; int count=0; std::string lol= "ABXY"; while(true){ for(int i=0; i<4; i++){ std::string t= p+ lol[i]; int c= press(t); if(c>count){ p= t; count++; break; } } if(count==N){break;} } return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...