실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:22:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 22 | int main(){ | ^~ Main.cpp:22:9: note: remove parentheses to default-initialize a variable 22 | int main(){ | ^~ | -- Main.cpp:22:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:22:11: error: a function-definition is not allowed here before ‘{’ token 22 | int main(){ | ^ Main.cpp:61:2: error: expected ‘}’ at end of input 61 | } | ^ Main.cpp:6:11: note: to match this ‘{’ 6 | int main(){ | ^ Main.cpp:7:11: warning: unused variable ‘min’ [-Wunused-variable] 7 | int n,min=MAX,mlow,mhigh; | ^~~ Main.cpp:7:19: warning: unused variable ‘mlow’ [-Wunused-variable] 7 | int n,min=MAX,mlow,mhigh; | ^~~~ Main.cpp:7:24: warning: unused variable ‘mhigh’ [-Wunused-variable] 7 | int n,min=MAX,mlow,mhigh; | ^~~~~ Main.cpp:16:9: warning: unused variable ‘low’ [-Wunused-variable] 16 | int low=0,high=v.size()-1; | ^~~ Main.cpp:16:15: warning: unused variable ‘high’ [-Wunused-variable] 16 | int low=0,high=v.size()-1; | ^~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.