제출 #92960

#제출 시각아이디문제언어결과실행 시간메모리
92960beso123콤보 (IOI18_combo)C++14
0 / 100
3 ms200 KiB
#include <bits/stdc++.h> #include "combo.h" using namespace std; string guess_sequence(int N){ string s; if(press("A")==1) s="A"; if(press("B")==1) s="B"; if(press("X")==1) s="X"; if(press("Y")==1) s="Y"; return s; }

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

combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:10:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   10 | if(press("B")==1)
      | ^~
combo.cpp:12:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   12 |     if(press("X")==1)
      |     ^~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...