Borderou de evaluare (job #2534176)

Utilizator arahnide223Scanteie Stefan arahnide223 Data 30 ianuarie 2020 10:18:31
Problema Diagonale Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i<=n; i++) ^~~ main.cpp:24:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' maxs=dp[1]; ^~~~ main.cpp: At global scope: main.cpp:34:5: error: 'fout' does not name a type fout<<maxs; ^~~~ main.cpp:35:5: error: expected unqualified-id before 'return' return 0; ^~~~~~ main.cpp:36:1: error: expected declaration before '}' token } ^ Non zero exit status: 1

Ceva nu functioneaza?