Borderou de evaluare (job #2960849)

Utilizator apocal1ps13Stefan Oprea Antoniu apocal1ps13 Data 5 ianuarie 2023 01:02:13
Problema Fractii2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:10:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 10 | for (int i = 1; i < nof; i++) out << i << " "; out << nof - 1; return 0; | ^~~ main.cpp:10:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 10 | for (int i = 1; i < nof; i++) out << i << " "; out << nof - 1; return 0; | ^~~ main.cpp:16:61: error: expected ';' before 'if' 16 | dp[i][j] = max(dp[i][j], dp[i - 1][j - 1] + dp[i][2 * j]) | ^ | ; 17 | if (dp[i][j] >= MOD) dp[i][j] -= MOD; | ~~ Non zero exit status: 1

Ceva nu functioneaza?