실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:43:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 43 | int main() { | ^~ Main.cpp:43:9: note: remove parentheses to default-initialize a variable 43 | int main() { | ^~ | -- Main.cpp:43:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:43:12: error: a function-definition is not allowed here before ‘{’ token 43 | int main() { | ^ Main.cpp:37:5: warning: unused variable ‘n’ [-Wunused-variable] 37 | int n; | ^ Main.cpp:106:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 106 | for (int i = 0; i < ans.size(); i++) { | ~~^~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.