0_0_38737763_18502.cpp:18:1: error: expected unqualified-id before 'const'
18 | const ll mod=1e9+7;
| ^~~~~
0_0_38737763_18502.cpp: In function 'long long int C(int, int)':
0_0_38737763_18502.cpp:25:31: error: 'mod' was not declared in this scope; did you mean 'modf'?
25 | return fac[n] * ifac[m] % mod * ifac[n - m] % mod;
| ^~~
| modf
0_0_38737763_18502.cpp: In function 'long long int ksm(long long int, long long int)':
0_0_38737763_18502.cpp:33:25: error: 'mod' was not declared in this scope; did you mean 'modf'?
33 | ans=ans*a % mod;
| ^~~
| modf
0_0_38737763_18502.cpp:34:17: error: 'mod' was not declared in this scope; did you mean 'modf'?
34 | a=a*a % mod;
| ^~~
| modf
0_0_38737763_18502.cpp: In function 'void solve()':
0_0_38737763_18502.cpp:61:35: error: 'mod' was not declared in this scope; did you mean 'modf'?
61 | b[j]=b[j]%mod;
| ^~~
| modf
0_0_38737763_18502.cpp: In function 'int main()':
0_0_38737763_18502.cpp:80:35: error: 'mod' was not declared in this scope; did you mean 'modf'?
80 | fac[i] = (fac[i-1] * i) % mod;
| ^~~
| modf
0_0_38737763_18502.cpp:81:31: error: 'mod' was not declared in this scope; did you mean 'modf'?
81 | ifac[N] = ksm(fac[N], mod - 2);
| ^~~
| modf
|