0_0_30196267_12335.cpp:1:1: error: 'sing' does not name a type
sing namespace std;
^
0_0_30196267_12335.cpp: In function 'int main()':
0_0_30196267_12335.cpp:5:30: error: 'scanf' was not declared in this scope
while(~scanf("%d%d",&n,&m)){
^
0_0_30196267_12335.cpp:11:31: error: 'memset' was not declared in this scope
memset(dp,0,sizeof(dp));
^
0_0_30196267_12335.cpp:17:47: error: 'max' was not declared in this scope
dp[k]=max(dp[k],dp[k-a[i]]+a[i]);
^
0_0_30196267_12335.cpp:22:27: error: 'printf' was not declared in this scope
printf("%d\n",Cout);
^
|