0_0_33056890_18613.cpp:7:7: error: 'LL' does not name a type
const LL mod=1e9+7;
^
0_0_33056890_18613.cpp:8:7: error: 'LL' does not name a type
const LL inv=(mod+1)/2;
^
0_0_33056890_18613.cpp: In function 'int main()':
0_0_33056890_18613.cpp:39:22: error: 'mod' was not declared in this scope
LL res=(n-clc(pos)+mod)%mod;
^
0_0_33056890_18613.cpp:47:44: error: 'inv' was not declared in this scope
ans=(ans%mod+(i%mod+mo%mod)%mod*num%mod*inv%mod*j%mod)%mod;
^
|