0_0_13747719_4922.cpp: In function 'int main()':
0_0_13747719_4922.cpp:15:24: error: 'memset' was not declared in this scope
memset(dp,0,sizeof(dp));
^
0_0_13747719_4922.cpp:17:6: error: 'i' was not declared in this scope
for(i = 1;i <= n;++ i)
^
0_0_13747719_4922.cpp:19:7: error: 'j' was not declared in this scope
for(j = i-m < 0 ? 0: i-m ;j <= i;++ j)
^
0_0_13747719_4922.cpp:22:19: error: 'j' was not declared in this scope
printf("%d\n",dp[j]);
^
|