실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:24:38: error: ‘LLONG_MAX’ was not declared in this scope 24 | if (input == LLONG_MAX) | ^~~~~~~~~ Main.cpp:7:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? 6 | #include<algorithm> +++ |+#include <climits> 7 | Main.cpp:26:43: error: ‘LLONG_MIN’ was not declared in this scope 26 | else if (input == LLONG_MIN) | ^~~~~~~~~ Main.cpp:26:43: note: ‘LLONG_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? Main.cpp:12:25: warning: unused variable ‘c’ [-Wunused-variable] 12 | long long a, b, c, d, e, f, g, input, max, sum, max1;; | ^ Main.cpp:12:31: warning: unused variable ‘e’ [-Wunused-variable] 12 | long long a, b, c, d, e, f, g, input, max, sum, max1;; | ^ Main.cpp:12:34: warning: unused variable ‘f’ [-Wunused-variable] 12 | long long a, b, c, d, e, f, g, input, max, sum, max1;; | ^ Main.cpp:12:37: warning: unused variable ‘g’ [-Wunused-variable] 12 | long long a, b, c, d, e, f, g, input, max, sum, max1;; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.