실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:4:17: warning: overflow in conversion from ‘long int’ to ‘int’ changes value from ‘999999999999’ to ‘-727379969’ [-Woverflow] 4 | int M, N, min=999999999999, result=0, cnt++; | ^~~~~~~~~~~~ Main.cpp:4:44: error: expected initializer before ‘++’ token 4 | int M, N, min=999999999999, result=0, cnt++; | ^~ Main.cpp:8:5: error: ‘cnt’ was not declared in this scope; did you mean ‘int’? 8 | cnt = 0; | ^~~ | int Main.cpp:5:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d %d", &M, &N); | ~~~~~^~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.