Borderou de evaluare (job #3004311)
Utilizator | Data | 16 martie 2023 11:30:23 | |
---|---|---|---|
Problema | Ksecv4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool ok(long long int)':
main.cpp:16:28: error: 'LLONG_MAX' was not declared in this scope
16 | long long mx = 0, mn = LLONG_MAX;
| ^~~~~~~~~
main.cpp:5:1: note: 'LLONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <cmath>
+++ |+#include <climits>
5 | using namespace std;
main.cpp: In function 'int main()':
main.cpp:44:28: error: 'LLONG_MAX' was not declared in this scope
44 | long long st = 1, dr = LLONG_MAX, med, sol = -1;
| ^~~~~~~~~
main.cpp:44:28: note: 'LLONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp:47:9: error: 'med' was not declared in this scope
47 | med = ((st + dr) >> 1);
| ^~~
main.cpp:50:13: error: 'sol' was not declared in this scope
50 | sol = med;
| ^~~
main.cpp:56:13: error: 'sol' was not declared in this scope
56 | cout << sol;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !