Borderou de evaluare (job #3325988)

Utilizator IaniselGellert Ianis Ianisel Data 27 noiembrie 2025 09:25:52
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:7:17: error: variable 'std::ifstream fin' has initializer but incomplete type 7 | ifstream fin("scmax.in"); | ^ main.cpp:8:18: error: variable 'std::ofstream fout' has initializer but incomplete type 8 | ofstream fout("scmax.out"); | ^ main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 11 | for(i=1;i<=n;i++) | ^~~ main.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 13 | lung[n]=1; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?