0_0_21797518_9973.cpp: In function 'int main()':
0_0_21797518_9973.cpp:76:66: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}' and 'const long long int' to binary 'operator%'
ans=(ans+c[m][i]*s[n][i]%mod*a[i]%mod*pow(m-i,n)%mod)%mod;
^
0_0_21797518_9973.cpp:82:65: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}' and 'const long long int' to binary 'operator%'
ans=(ans+c[m][i]*s[n][i]%mod*a[i]%mod*pow(m-i,n)%mod)%mod;
^
|