0_0_25396617_19050.cpp:5:7: error: 'll' does not name a type
const ll mod=1e9+7;
^
0_0_25396617_19050.cpp:66:1: error: 'll' does not name a type
ll pow2(ll a,ll b)
^
0_0_25396617_19050.cpp:77:1: error: 'll' does not name a type
ll inv(ll x)
^
0_0_25396617_19050.cpp:81:1: error: 'll' does not name a type
ll fac[MAX],invfac[MAX];
^
0_0_25396617_19050.cpp: In function 'void init(int)':
0_0_25396617_19050.cpp:84:5: error: 'll' was not declared in this scope
ll i;
^
0_0_25396617_19050.cpp:85:5: error: 'fac' was not declared in this scope
fac[0]=invfac[0]=1;
^
0_0_25396617_19050.cpp:85:12: error: 'invfac' was not declared in this scope
fac[0]=invfac[0]=1;
^
0_0_25396617_19050.cpp:86:9: error: 'i' was not declared in this scope
for(i=1;i<=n;i++)
^
0_0_25396617_19050.cpp:88:27: error: 'mod' was not declared in this scope
fac[i]=fac[i-1]*i%mod;
^
0_0_25396617_19050.cpp:89:29: error: 'inv' was not declared in this scope
invfac[i]=inv(fac[i]);
^
0_0_25396617_19050.cpp: At global scope:
0_0_25396617_19050.cpp:92:1: error: 'll' does not name a type
ll C(int n,int m)
^
0_0_25396617_19050.cpp:102:5: error: 'll' does not name a type
ll dfs(int mn,int mx)
^
0_0_25396617_19050.cpp:126:1: error: 'll' does not name a type
ll dfs(int l,int r)
^
0_0_25396617_19050.cpp: In function 'int main()':
0_0_25396617_19050.cpp:138:5: error: 'll' was not declared in this scope
ll ans;
^
0_0_25396617_19050.cpp:145:9: error: 'ans' was not declared in this scope
ans=DFS::dfs(1,n)*invfac[n]%mod*n%mod*inv(2)%mod;
^
0_0_25396617_19050.cpp:145:13: error: 'dfs' is not a member of 'DFS'
ans=DFS::dfs(1,n)*invfac[n]%mod*n%mod*inv(2)%mod;
^
0_0_25396617_19050.cpp:145:27: error: 'invfac' was not declared in this scope
ans=DFS::dfs(1,n)*invfac[n]%mod*n%mod*inv(2)%mod;
^
0_0_25396617_19050.cpp:145:37: error: 'mod' was not declared in this scope
ans=DFS::dfs(1,n)*invfac[n]%mod*n%mod*inv(2)%mod;
^
0_0_25396617_19050.cpp:145:52: error: 'inv' was not declared in this scope
ans=DFS::dfs(1,n)*invfac[n]%mod*n%mod*inv(2)%mod;
^
|