0_0_30769780_1476.cpp: In function 'int main()': 0_0_30769780_1476.cpp:41:27: error: 'mod' was not declared in this scope ll y=(pow1(a,x)-1+mod)%k; ^