실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:52:21: error: ‘for_max’ was not declared in this scope; did you mean ‘fmax’? 52 | if(arr[n-1]>for_max){ | ^~~~~~~ | fmax Main.cpp:34:13: warning: unused variable ‘temp_max’ [-Wunused-variable] 34 | int temp_max = dp[idx]; | ^~~~~~~~ Main.cpp:21:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 21 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ Main.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 23 | scanf("%d", &arr[i]); | ~~~~~^~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.