Borderou de evaluare (job #3126072)

Utilizator DavidAA007Apostol David DavidAA007 Data 5 mai 2023 19:32:09
Problema Monopoly 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:3:14: warning: overflow in conversion from 'double' to 'int' changes value from '-1.0e+10' to '-2147483648' [-Woverflow] 3 | #define mare -1e10 | ^~~~~ main.cpp:9:15: note: in expansion of macro 'mare' 9 | memset(dp,mare,sizeof(dp)); | ^~~~ main.cpp:15:13: error: incompatible types in assignment of 'long long int' to 'long long int [5]' 15 | dp[0][0]=v[0]; | ~~~~~~~~^~~~~ main.cpp:25:91: error: expected ')' before ';' token 25 | dp[t+1][(i+j)%n][l]=max(dp[t+1][(i+j)%n][l],dp[t][i][l]+v[(i+j)%n]; | ~ ^ | ) Non zero exit status: 1

Ceva nu functioneaza?