# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
312130 | 2020-10-12T12:27:21 Z | blue | 콤보 (IOI18_combo) | C++11 | 0 ms | 0 KB |
#include "combo.h" #include <string> string guess_sequence(int N) { for(string A:{"A", "B", "X", "Y"}) { for(string B:{"A", "B", "X", "Y"}) { if(A == B) continue; for(string C:"A", "B", "X", "Y") { if(A == C) continue; if(press(A+B+C) == 3) return A+B+C; } } } }