Borderou de evaluare (job #2485277)

Utilizator mihnea.anghelMihnea Anghel mihnea.anghel Data 1 noiembrie 2019 11:20:32
Problema Iv 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:12:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] f>>a+1>>b+1; ~^~ main.cpp:12:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] f>>a+1>>b+1; ~^~ main.cpp:21:11: error: 'L' was not declared in this scope for ( L=2; L <= (n+m)/2, L++) ^ main.cpp:21:33: error: expected ';' before ')' token for ( L=2; L <= (n+m)/2, L++) ^ main.cpp:22:15: error: 'i' was not declared in this scope for ( i=0; i <= n && i <= L; i++ ) ^ main.cpp:23:19: error: 'j' was not declared in this scope for ( j=0; i+j <= n && j <= L; j++ ){ ^ main.cpp:24:19: error: 't' was not declared in this scope d[t][i][j] = 0; ^ main.cpp:27:70: error: 'MOD' was not declared in this scope d[t][i][j] = ( d[t][i][j] + d[t-1][i-1][j-1] ) % MOD; ^~~ main.cpp:30:13: error: expected primary-expression before '}' token } ^ Non zero exit status: 1

Ceva nu functioneaza?