제출 #305467

#제출 시각아이디문제언어결과실행 시간메모리
305467kylych03콤보 (IOI18_combo)C++14
5 / 100
1 ms200 KiB
#include "combo.h" #include <bits/stdc++.h> //#include "grader.cpp" using namespace std; string guess_sequence(int N) { string p = ""; if( press("A")==1) p="A"; else if( press("B")==1) p="B"; else if( press("X")==1) p="X"; else if( press("Y")==1) p="Y"; /////// if( press( (p+"A") )==2) p+="A"; else if( press((p+"B"))==2) p+="B"; else if( press((p+"X"))==2) p+="X"; else if( press((p+"Y"))==2) p+="Y"; if( press( (p + "A"))==3) p+="A"; else if( press((p+"B"))==3) p+="B"; else if( press((p+"X"))==3) p+="X"; else if( press((p+"Y"))==3) p+="Y"; //////// return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...