Borderou de evaluare (job #2787523)
Utilizator | Data | 23 octombrie 2021 17:04:35 | |
---|---|---|---|
Problema | Aprindere | 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:39:22: error: 'INT_MIN' was not declared in this scope
39 | int prof_maxim = INT_MIN, cam_max;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <fstream>
+++ |+#include <climits>
3 |
main.cpp:51:38: error: 'cam_max' was not declared in this scope
51 | prof_maxim = intr[i].profit, cam_max = i;
| ^~~~~~~
main.cpp:53:27: error: 'cam_max' was not declared in this scope
53 | for (j = 1; j <= intr[cam_max].nr_cam_mod; j++)
| ^~~~~~~
main.cpp:55:15: error: 'cam_max' was not declared in this scope
55 | t += intr[cam_max].timp;
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !