Borderou de evaluare (job #2885923)
Utilizator | Data | 6 aprilie 2022 19:35:11 | |
---|---|---|---|
Problema | Mindist | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:8: error: 'INT_MAX' was not declared in this scope
13 | int mn=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 | #define p pair<int,int>
main.cpp: In function 'int main()':
main.cpp:28:17: error: 'INT_MAX' was not declared in this scope
28 | g<<(mn==INT_MAX?0:mn)<<'\n';
| ^~~~~~~
main.cpp:28:17: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !