실행 실패 (제출 코드 컴파일 에러)
Main.cpp:9:15: error: ‘INT_MAX’ was not declared in this scope 9 | int n, s, m = INT_MAX; | ^~~~~~~ Main.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? 3 | #include<algorithm> +++ |+#include <climits> 4 | #define fastio ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0) Main.cpp: In function ‘int main()’: Main.cpp:30:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 30 | while (p2 < v.size()) { | ~~~^~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.