0_0_38741588_9341.cpp: In function 'll qpow(ll, ll)':
0_0_38741588_9341.cpp:13:37: error: 'mod' was not declared in this scope; did you mean 'modf'?
13 | ans=(ans*x)%mod;
| ^~~
| modf
0_0_38741588_9341.cpp:14:25: error: 'mod' was not declared in this scope; did you mean 'modf'?
14 | x=(x*x)%mod;
| ^~~
| modf
0_0_38741588_9341.cpp: In function 'll C(ll, ll)':
0_0_38741588_9341.cpp:21:26: error: 'mod' was not declared in this scope; did you mean 'modf'?
21 | return fac[n]*inv[m]%mod*inv[n-m]%mod;
| ^~~
| modf
0_0_38741588_9341.cpp: In function 'void init()':
0_0_38741588_9341.cpp:27:29: error: 'mod' was not declared in this scope; did you mean 'modf'?
27 | fac[i]=(fac[i-1]*i)%mod;
| ^~~
| modf
0_0_38741588_9341.cpp:28:28: error: 'mod' was not declared in this scope; did you mean 'modf'?
28 | inv[N-1]=qpow(fac[N-1],mod-2);
| ^~~
| modf
0_0_38741588_9341.cpp: In function 'void solve()':
0_0_38741588_9341.cpp:37:24: error: 'mod' was not declared in this scope; did you mean 'modf'?
37 | ll invb=qpow(b,mod-2);
| ^~~
| modf
|