실행 실패 (제출 코드 컴파일 에러)
Main.cpp:1:5: error: expected unqualified-id before ‘for’ 1 | for(int i=0;i<n;i++) | ^~~ Main.cpp:1:19: error: ‘n’ was not declared in this scope 1 | for(int i=0;i<n;i++) | ^ Main.cpp:1:19: error: ‘n’ was not declared in this scope Main.cpp:1:19: error: ‘n’ was not declared in this scope Main.cpp:1:19: error: ‘n’ was not declared in this scope Main.cpp:1:19: error: ‘n’ was not declared in this scope Main.cpp:1:19: error: ‘n’ was not declared in this scope Main.cpp:1:19: error: ‘n’ was not declared in this scope Main.cpp:1:19: error: ‘n’ was not declared in this scope Main.cpp:1:19: error: ‘n’ was not declared in this scope Main.cpp:1:17: error: ‘i’ does not name a type 1 | for(int i=0;i<n;i++) | ^ Main.cpp:1:21: error: ‘i’ does not name a type 1 | for(int i=0;i<n;i++) | ^ Main.cpp:11:5: error: expected unqualified-id before ‘if’ 11 | if(dex==0) | ^~ Main.cpp:17:5: error: expected unqualified-id before ‘while’ 17 | while(true) | ^~~~~ Main.cpp:56:11: error: expected constructor, destructor, or type conversion before ‘(’ token 56 | printf("%lld",cnt); | ^ Main.cpp:57:1: error: expected declaration before ‘}’ token 57 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.