0_0_21391048_21071.cpp: In function 'int main()':
0_0_21391048_21071.cpp:98:57: error: invalid operands of types '__gnu_cxx::__promote_2<long long int, long long int, double, double>::__type {aka double}' and 'const LL {aka const long long int}' to binary 'operator%'
B[k+1]=B[k+1]*(e[i]+k)%P*pow((LL)k,P-2)%P;
^
0_0_21391048_21071.cpp:101:53: error: invalid operands of types '__gnu_cxx::__promote_2<long long int, long long int, double, double>::__type {aka double}' and 'const LL {aka const long long int}' to binary 'operator%'
for(int k=1;k<x;k++)B[k]=B[k]*pow(F[k],P-2)%P;
^
0_0_21391048_21071.cpp:103:72: error: invalid operands of types '__gnu_cxx::__promote_2<long long int, long long int, double, double>::__type {aka double}' and 'const LL {aka const long long int}' to binary 'operator%'
for(int k=0,on=1;k<x;k++,on=-on) A[k]=(pow(F[k],P-2)*(LL)on+P)%P;
^
|