0_0_33668418_18662.cpp: In function 'int getdp(int, int)':
0_0_33668418_18662.cpp:7:18: error: 'm' was not declared in this scope
return dp[j]+m+(sum[i]-sum[j])*(sum[i]-sum[j]);
^
0_0_33668418_18662.cpp: In function 'int main()':
0_0_33668418_18662.cpp:23:17: error: 'n' was not declared in this scope
while (cin>>n>>m)
^
0_0_33668418_18662.cpp:23:20: error: 'm' was not declared in this scope
while (cin>>n>>m)
^
0_0_33668418_18662.cpp:28:9: error: 'h' was not declared in this scope
h=1; t=0;
^
0_0_33668418_18662.cpp:28:14: error: 't' was not declared in this scope
h=1; t=0;
^
0_0_33668418_18662.cpp:31:32: error: 'q' was not declared in this scope
while (h<=t&&getup(q[h+1],q[h])<=
^
0_0_33668418_18662.cpp:33:27: error: 'q' was not declared in this scope
dp[i]=getdp(i,q[h]);
^
|