0_0_34626744_9063.cpp: In function 'int main()': 0_0_34626744_9063.cpp:32:15: error: 'ans1' was not declared in this scope ans=(ans1*a1)%mod; ^