실행 실패 (제출 코드 컴파일 에러)
Main.cpp:28:17: error: stray ‘#’ in program 28 | cout << idx;#include <iostream> | ^ Main.cpp: In function ‘int main()’: Main.cpp:28:18: error: ‘include’ was not declared in this scope 28 | cout << idx;#include <iostream> | ^~~~~~~ Main.cpp:28:35: error: expected primary-expression before ‘>’ token 28 | cout << idx;#include <iostream> | ^ Main.cpp:33:1: error: expected primary-expression before ‘using’ 33 | using namespace std; | ^~~~~ Main.cpp:35:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 35 | int main() | ^~ Main.cpp:35:9: note: remove parentheses to default-initialize a variable 35 | int main() | ^~ | -- Main.cpp:35:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:36:1: error: a function-definition is not allowed here before ‘{’ token 36 | { | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.