Borderou de evaluare (job #1897551)

Utilizator ButmalaiDanButmalai Dan ButmalaiDan Data 1 martie 2017 15:32:52
Problema Lacusta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:1: error: ‘__int16’ does not name a type __int16 a[255]; ^ user.cpp: In function ‘int main()’: user.cpp:11:37: error: ‘a’ was not declared in this scope for (int i = 0; i < m; i++) cin >> a[i]; ^ user.cpp:13:43: error: ‘a’ was not declared in this scope for (int i = 1; i < m; i++) {dp[0][i] += a[0];dp[0][i] += a[i];} ^ user.cpp:15:38: error: ‘a’ was not declared in this scope for (int j = 0; j < m; j++) cin >> a[j]; ^ user.cpp:19:67: error: ‘a’ was not declared in this scope if (j != k) dp[i][j] = min(dp[i][j], short(dp[i-1][k] + short(a[k]))); ^ user.cpp:20:16: error: ‘a’ was not declared in this scope dp[i][j] += a[j]; ^

Ceva nu functioneaza?