0_0_28590257_23725.cpp:5:7: error: 'LL' does not name a type
const LL mod=200907;
^
0_0_28590257_23725.cpp: In function 'LL mypow(int, int)':
0_0_28590257_23725.cpp:10:6: error: 'mod' was not declared in this scope
a=a%mod;
^
0_0_28590257_23725.cpp: In function 'int main()':
0_0_28590257_23725.cpp:27:12: error: 'mod' was not declared in this scope
ans=(a1%mod+((k-1)%mod*d%mod)%mod)%mod;
^
0_0_28590257_23725.cpp:31:12: error: 'mod' was not declared in this scope
ans=(a1%mod*mypow(q,k-1)%mod)%mod;
^
|