0_0_25066762_2968.cpp: In function 'int main()': 0_0_25066762_2968.cpp:37:37: error: 'mod' was not declared in this scope ans=(ans*quick(x,y-1)%mod*(x+x*y%inf-y)+inf)%inf; ^