Borderou de evaluare (job #595595)

Utilizator avatar cantorandrei Cantor Andrei cantorandrei IP ascuns
Problemă Cifre 4 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 apr. 2021 18:32:17 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:1: error: 'ifstream' does not name a type 5 | ifstream fin ("cifre4.in"); | ^~~~~~~~ main.cpp:6:1: error: 'ofstream' does not name a type 6 | ofstream fout ("cifre4.out"); | ^~~~~~~~ main.cpp: In function 'int maxim(int)': main.cpp:9:11: error: 'INT_MIN' was not declared in this scope 9 | {int maxi=INT_MIN; | ^~~~~~~ main.cpp:4:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'? 3 | #include <fstream> +++ |+#include <climits> 4 | main.cpp: In function 'int maxim2(int)': main.cpp:28:11: error: 'INT_MIN' was not declared in this scope 28 | {int maxi=INT_MIN; | ^~~~~~~ main.cpp:28:11: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?