제출 #312130

#제출 시각아이디문제언어결과실행 시간메모리
312130blue콤보 (IOI18_combo)C++11
컴파일 에러
0 ms0 KiB
#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; } } } }

컴파일 시 표준 에러 (stderr) 메시지

combo.cpp:4:1: error: 'string' does not name a type; did you mean 'stdin'?
    4 | string guess_sequence(int N)
      | ^~~~~~
      | stdin