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