0_0_26184096_31058.cpp: In function 'int main()':
0_0_26184096_31058.cpp:19:56: error: 'abs' was not declared in this scope
cost[i][j]+=abs(dis[m]-dis[(i+j)/2]);
^
0_0_26184096_31058.cpp:27:66: error: 'min' was not declared in this scope
dp[i][j]=min(dp[i][j],dp[i-1][m]+cost[m+1][j]);
^
|