0_0_22227325_9676.cpp: In function 'int main()':
0_0_22227325_9676.cpp:18:20: error: expected primary-expression before ';' token
for(int i=;i<=n;i++){
^
0_0_22227325_9676.cpp:20:29: error: expected primary-expression before ']' token
cost[i]=cost[i-]+a[i];
^
0_0_22227325_9676.cpp:22:20: error: expected primary-expression before ';' token
for(int i=;i<=n;i++)dp[i]=inf;
^
0_0_22227325_9676.cpp:24:20: error: expected primary-expression before ';' token
for(int i=;i<=n;i++){
^
0_0_22227325_9676.cpp:26:57: error: expected primary-expression before ')' token
dp[i]=min(dp[i],dp[j]+(cost[i]-cost[j]+)*b[i]);
^
|