0_0_13775700_18271.cpp: In function 'void precompute()':
0_0_13775700_18271.cpp:26:11: error: incompatible types in assignment of 'long long int' to 'long long int [2000001]'
p = p[i - 1] * i % MOD;
^
0_0_13775700_18271.cpp:29:31: error: invalid conversion from 'long long int*' to 'long long int' [-fpermissive]
ext_gcd(p, MOD, &a, &b);
^
0_0_13775700_18271.cpp:10:6: note: initializing argument 1 of 'void ext_gcd(long long int, long long int, long long int*, long long int*)'
void ext_gcd(long long x, long long y, long long *a, long long *b) {
^
0_0_13775700_18271.cpp:30:13: error: incompatible types in assignment of 'long long int' to 'long long int [2000001]'
rev = (a % MOD + MOD) % MOD;
^
|