foo.cc:2:1: error: 'll' does not name a type
ll powmod(ll a,ll b){
^~
foo.cc: In function 'int main()':
foo.cc:13:13: error: 'cin' was not declared in this scope
int n,k;cin>>n>>k;
^~~
foo.cc:13:13: note: suggested alternative: 'main'
int n,k;cin>>n>>k;
^~~
main
foo.cc:19:57: error: 'mod' was not declared in this scope
dp[i][j*p] += dp[i-1][j], dp[i][j*p] %= mod;
^~~
foo.cc:19:57: note: suggested alternative: 'void'
dp[i][j*p] += dp[i-1][j], dp[i][j*p] %= mod;
^~~
void
foo.cc:21:5: error: 'll' was not declared in this scope
ll ans = 9* (powmod(10,n-1) - powmod(9,n-1));
^~
foo.cc:22:29: error: 'ans' was not declared in this scope
for(int i=1; i<=k; i++) ans+=dp[n][i];
^~~
foo.cc:23:5: error: 'cout' was not declared in this scope
cout<<ans%mod<<endl;
^~~~
foo.cc:23:11: error: 'ans' was not declared in this scope
cout<<ans%mod<<endl;
^~~
foo.cc:23:15: error: 'mod' was not declared in this scope
cout<<ans%mod<<endl;
^~~
foo.cc:23:15: note: suggested alternative: 'void'
cout<<ans%mod<<endl;
^~~
void
foo.cc:23:20: error: 'endl' was not declared in this scope
cout<<ans%mod<<endl;
^~~~
foo.cc:23:20: note: suggested alternative: 'enum'
cout<<ans%mod<<endl;
^~~~
enum
foo.cc:27:13: error: 'setw' was not declared in this scope
cout<<setw(5)<<dp[i][j];
^~~~
[Hydro](https://hydro.ac)提供评测服务