Problem selfstudy
User Pan
Submission Time 2023-11-16 11:29:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

selfstudy.cpp: In function ‘int main()’:
selfstudy.cpp:13:19: error: ‘LLONG_MAX’ was not declared in this scope
13 | ll n, m, hi = LLONG_MAX, lo=0;
| ^~~~~~~~~
selfstudy.cpp:5:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <cmath>
+++ |+#include <climits>
5 | typedef long long ll;
selfstudy.cpp:26:9: error: ‘lo’ was not declared in this scope; did you mean ‘ll’?
26 | 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