Problem lis_easy
User SuspiciousAmogus
Submission Time 2024-05-26 21:55:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:10:14: error: ‘INT_MIN’ was not declared in this scope
10 | int mx = INT_MIN, mx_cnt = 0;
| ^~~~~~~
lis_easy.cpp:2:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
1 | #include <iostream>
+++ |+#include <climits>
2 | using namespace std;
lis_easy.cpp:14:23: error: ‘mx_cnt’ was not declared in this scope
14 | if (cnt > mx_cnt) {
| ^~~~~~