0_0_25675295_17106.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_25675295_17106.cpp: In function 'int main()':
0_0_25675295_17106.cpp:8:30: error: 'scanf' was not declared in this scope
while(scanf("%d %d",&n,&m) != EOF)
^
0_0_25675295_17106.cpp:8:35: error: 'EOF' was not declared in this scope
while(scanf("%d %d",&n,&m) != EOF)
^
0_0_25675295_17106.cpp:10:33: error: 'memset' was not declared in this scope
memset(dp,INF,sizeof(dp));
^
0_0_25675295_17106.cpp:21:75: error: 'min' was not declared in this scope
dp[i][j] = min(dp[i][j - b[t] + i] + k[t],dp[i][j]);
^
0_0_25675295_17106.cpp:23:64: error: 'min' was not declared in this scope
dp[i][j] = min(dp[i][j],(long long)k[t]);
^
0_0_25675295_17106.cpp:34:28: error: 'printf' was not declared in this scope
printf("%lld\n",ans);
^
|