Borderou de evaluare (job #761966)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Extraprime (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 12 feb. 2024 19:26:27 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:25:28: error: 'INT_MAX' was not declared in this scope
25 | int a,b,maxim=-1,minim=INT_MAX,c=0;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <bitset>
+++ |+#include <climits>
4 | #define lim 10000000
main.cpp:47:17: error: 'c' was not declared in this scope
47 | c++;
| ^
main.cpp:53:9: error: 'c' was not declared in this scope
53 | fo<<c<<"\n"<<minim<<"\n"<<maxim;
| ^