실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:10:9: error: ‘assert’ was not declared in this scope 10 | assert(0); | ^~~~~~ Main.cpp:2:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’? 1 | #include <iostream> +++ |+#include <cassert> 2 | using namespace std; Main.cpp:9:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 9 | else if (a%2 == 1 && b %2 == 0) | ^~ Main.cpp:11:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 11 | cout << a+b << endl; | ^~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.