0_0_37838151_16054.cpp: In function 'll ksm(ll, ll)':
0_0_37838151_16054.cpp:14:75: error: 'mod' was not declared in this scope
ll ksm(ll a, ll b) {ll ans = 1;while (b > 0) {if (b & 1) {ans = ans * a % mod;}a = a * a % mod;b >>= 1;}return ans;}
^
0_0_37838151_16054.cpp:14:92: error: 'mod' was not declared in this scope
ll ksm(ll a, ll b) {ll ans = 1;while (b > 0) {if (b & 1) {ans = ans * a % mod;}a = a * a % mod;b >>= 1;}return ans;}
^
0_0_37838151_16054.cpp: In function 'll Add(ll, ll)':
0_0_37838151_16054.cpp:15:40: error: 'mod' was not declared in this scope
inline ll Add(ll x,ll y){x+=y;return(x<mod)?x:x-mod;}
^
0_0_37838151_16054.cpp: In function 'll Dec(ll, ll)':
0_0_37838151_16054.cpp:16:45: error: 'mod' was not declared in this scope
inline ll Dec(ll x,ll y){x-=y;return(x<0)?x+mod:x;}
^
0_0_37838151_16054.cpp: In function 'll Mul(ll, ll)':
0_0_37838151_16054.cpp:17:37: error: 'mod' was not declared in this scope
inline ll Mul(ll x,ll y){return(x*y%mod);}
^
|