0_0_24379242_10998.cpp: In function 'int quick_pow(int, int)':
0_0_24379242_10998.cpp:10:28: error: 'MOD' was not declared in this scope
ans=(ans*base)%MOD;
^
0_0_24379242_10998.cpp:12:26: error: 'MOD' was not declared in this scope
base=(base*base)%MOD;
^
0_0_24379242_10998.cpp:15:21: error: 'MOD' was not declared in this scope
return (int)ans%MOD;
^
|