Purpose
Calculates in .
Time Complexity
Usage
mop(a,b,mod) returns .
Implementation
int mop(int a, int n, int mod = LLONG_MAX) { int res = 1; while (n > 0) { if (n & 1) res = res * a % mod; a = a * a % mod; n >>= 1; } return res;}Verify
//TODO