Problem | treepruning |
---|---|
User | Pan |
Submission Time | 2023-11-05 11:03:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
treepruning.cpp: In function ‘int main()’:
treepruning.cpp:38:15: error: ‘LLONG_MAX’ was not declared in this scope
38 | index[i] = LLONG_MAX;
| ^~~~~~~~~
treepruning.cpp:5:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <cmath>
+++ |+#include <climits>
5 | #include <utility>
treepruning.cpp:62:21: error: ‘LLONG_MAX’ was not declared in this scope
62 | if (index[j] == LLONG_MAX) continue;
| ^~~~~~~~~
treepruning.cpp:62:21: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
treepruning.cpp:67:17: error: ‘LLONG_MAX’ was not declared in this scope
67 | index[j] = LLONG_MAX;
| ^~~~~~~~~
treepruning.cpp:67:17: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>