Borderou de evaluare (job #767622)

Utilizator avatar Edi_CNMV Cirstocea Alexandru Eduard Edi_CNMV IP ascuns
Problemă Subsecvență crescătoare (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 mar. 2024 08:20:19 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:14: error: variable 'std::ifstream fin' has initializer but incomplete type 4 | ifstream fin ("subcresc.in"); | ^ main.cpp:5:15: error: variable 'std::ofstream fout' has initializer but incomplete type 5 | ofstream fout ("subcresc.out"); | ^ main.cpp: In function 'int main()': main.cpp:11:5: error: 'lumgmax' was not declared in this scope; did you mean 'lungmax'? 11 | lumgmax=1; | ^~~~~~~ | lungmax main.cpp:12:9: error: 'i' was not declared in this scope 12 | for(i=1; i<=n; i++) | ^ main.cpp:14:14: error: 'x' was not declared in this scope 14 | fin>>x; | ^ main.cpp:16:19: error: expected ';' before 'else' 16 | lung++ | ^ | ; 17 | else | ~~~~