0_0_20998937_10613.cpp: In function 'int main()':
0_0_20998937_10613.cpp:19:18: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_20998937_10613.cpp:24:16: error: 'dp' was not declared in this scope
memset(dp,0,sizeof(dp));
^
0_0_20998937_10613.cpp:24:31: error: 'memset' was not declared in this scope
memset(dp,0,sizeof(dp));
^
0_0_20998937_10613.cpp:28:25: error: 'arr' was not declared in this scope
scanf("%d",&arr[i]);
^
0_0_20998937_10613.cpp:31:18: error: 'arr' was not declared in this scope
sum+=arr[i];
^
0_0_20998937_10613.cpp:39:17: error: 'arr' was not declared in this scope
dp[1][arr[1]]=1;
^
0_0_20998937_10613.cpp:50:44: error: 'mod' was not declared in this scope
dp[i][j]=(dp[i-1][tmp]+dp[i-1][j])%mod;
^
0_0_20998937_10613.cpp:57:43: error: 'mod' was not declared in this scope
dp[i][j]=(dp[i-1][9]+dp[i-1][j]+1)%mod;
^
0_0_20998937_10613.cpp:59:41: error: 'mod' was not declared in this scope
dp[i][j]=(dp[i-1][j]+dp[i-1][tmp])%mod;
^
0_0_20998937_10613.cpp:64:34: error: 'mod' was not declared in this scope
printf("%d\n",(dp[n][a]+1)%mod);
^
0_0_20998937_10613.cpp:64:37: error: 'printf' was not declared in this scope
printf("%d\n",(dp[n][a]+1)%mod);
^
0_0_20998937_10613.cpp:66:29: error: 'printf' was not declared in this scope
printf("%d\n",(dp[n][a]));
^
0_0_20998937_10613.cpp:76:29: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
|