0_0_33678650_3995.cpp:9:2: error: 'temp' does not name a type
temp[N] , dp[N] ;
^
0_0_33678650_3995.cpp: In function 'int work()':
0_0_33678650_3995.cpp:21:32: error: 'dp' was not declared in this scope
for(int i = 0 ;i < N ;i ++ ) dp[i] = temp[i] = -INF ;
^
0_0_33678650_3995.cpp:21:40: error: 'temp' was not declared in this scope
for(int i = 0 ;i < N ;i ++ ) dp[i] = temp[i] = -INF ;
^
0_0_33678650_3995.cpp:22:3: error: 'dp' was not declared in this scope
dp[base] = 0 ;
^
0_0_33678650_3995.cpp:23:3: error: 'temp' was not declared in this scope
temp[base] = 0 ;
^
|