Borderou de evaluare (job #3165697)
Utilizator | Data | 6 noiembrie 2023 19:12:15 | |
---|---|---|---|
Problema | Buline | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:43:10: error: 'INT_MAX' was not declared in this scope
43 | smin=INT_MAX;
| ^~~~~~~
main.cpp:2:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
1 | #include <fstream>
+++ |+#include <climits>
2 | using namespace std;
main.cpp:10:66: warning: unused variable 'x' [-Wunused-variable]
10 | int n, s=0, t, smin=0, first, last, firstin, lastin, i1, i2, x, i, sinit=0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !