Problem | selfstudy |
---|---|
User | Pan |
Submission Time | 2023-11-16 11:19:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
selfstudy.cpp: In function ‘int main()’:
selfstudy.cpp:14:19: error: ‘LLONG_MAX’ was not declared in this scope
14 | ll n, m, hi = LLONG_MAX, lo=0;
| ^~~~~~~~~
selfstudy.cpp:6:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
5 | #include <cmath>
+++ |+#include <climits>
6 | typedef long long ll;
selfstudy.cpp:27:9: error: ‘lo’ was not declared in this scope; did you mean ‘ll’?
27 | while (lo!=hi)
| ^~
| ll
selfstudy.cpp:59:10: error: ‘lo’ was not declared in this scope; did you mean ‘ll’?
59 | cout << lo << endl;
| ^~
| ll