Problem | lboard |
---|---|
User | Pan |
Submission Time | 2023-09-03 16:42:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lboard.cpp: In function ‘int main()’:
lboard.cpp:96:3: error: ‘hmax’ was not declared in this scope
96 | hmax = 0, vmax = 0, ans = INT_MIN;
| ^~~~
lboard.cpp:96:13: error: ‘vmax’ was not declared in this scope
96 | hmax = 0, vmax = 0, ans = INT_MIN;
| ^~~~
lboard.cpp:96:23: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
96 | hmax = 0, vmax = 0, ans = INT_MIN;
| ^~~
| abs
lboard.cpp:96:29: error: ‘INT_MIN’ was not declared in this scope
96 | hmax = 0, vmax = 0, ans = INT_MIN;
| ^~~~~~~
lboard.cpp:3:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <algorithm>
+++ |+#include <climits>
3 | using namespace std;