0_0_13669079_12954.cpp: In function 'int main()':
0_0_13669079_12954.cpp:7:29: error: 'scanf' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF)
^
0_0_13669079_12954.cpp:7:32: error: 'EOF' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF)
^
0_0_13669079_12954.cpp:22:27: error: 'printf' was not declared in this scope
printf("%d\n",dp[n]);
^
0_0_13669079_12954.cpp:25:13: error: expected '}' at end of input
return 0;
^
|