Borderou de evaluare (job #3326078)

Utilizator TeoodoraaToma Teodora Teoodoraa Data 27 noiembrie 2025 12:35:03
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:9:5: error: 'ofstreamcfout' was not declared in this scope 9 | ofstreamcfout("scmax.out"); | ^~~~~~~~~~~~~ main.cpp:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 12 | for(i=1;i<=n;i++) | ^~~ main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 14 | lung[n]=1;poz[n]=-1; | ^~~~ main.cpp:31:9: error: 'fout' was not declared in this scope 31 | fout<<maxim; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?