Borderou de evaluare (job #2797401)
Utilizator | Data | 9 noiembrie 2021 20:38:37 | |
---|---|---|---|
Problema | Factorial | 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:24:19: error: 'INT_MAX' was not declared in this scope
24 | int st = 1, dr = INT_MAX-1, sol=-1;
| ^~~~~~~
main.cpp:7:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
6 | #include <cmath>
+++ |+#include <climits>
7 | using namespace std;
main.cpp:32:5: error: 'sol' was not declared in this scope
32 | sol = mij;
| ^~~
main.cpp:39:10: error: 'sol' was not declared in this scope
39 | fout << sol;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !