Borderou de evaluare (job #1639658)

Utilizator UPB_Darius_Rares_SilviuPeace my pants UPB_Darius_Rares_Silviu Data 8 martie 2016 13:12:51
Problema Nucleul Valoros Season 2 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:1: error: ‘ll’ does not name a type ll dp[NMAX][NMAX], s[NMAX]; ^ user.cpp: In function ‘int main()’: user.cpp:18:9: error: ‘s’ was not declared in this scope s[i] = s[i - 1] + a[i]; ^ user.cpp:19:9: error: ‘dp’ was not declared in this scope dp[i][i] = a[i]; ^ user.cpp:27:13: error: ‘dp’ was not declared in this scope dp[i][j] = (1 << 30); ^ user.cpp:30:17: error: ‘ll’ was not declared in this scope ll val = dp[i][k] + dp[k + 1][j] + s[j] - s[i - 1]; ^ user.cpp:30:20: error: expected ‘;’ before ‘val’ ll val = dp[i][k] + dp[k + 1][j] + s[j] - s[i - 1]; ^ user.cpp:32:21: error: ‘val’ was not declared in this scope if (val < dp[i][j]) { ^ user.cpp:40:10: error: ‘dp’ was not declared in this scope g << dp[1][N] << '\n'; ^

Ceva nu functioneaza?