Problem | selfstudy |
---|---|
User | Pan |
Submission Time | 2023-11-16 11:16:22 |
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:28:9: error: ‘lo’ was not declared in this scope; did you mean ‘ll’?
28 | while (lo!=hi)
| ^~
| ll
selfstudy.cpp:60:10: error: ‘lo’ was not declared in this scope; did you mean ‘ll’?
60 | cout << lo << endl;
| ^~
| ll