0_0_16764481_25738.cpp: In function 'int main()': 0_0_16764481_25738.cpp:52:8: error: redeclaration of 'LL tmp' LL tmp=(mo[i/j]*u)%mod; ^ 0_0_16764481_25738.cpp:50:8: note: 'LL tmp' previously declared here LL tmp=(mo[j]*u)%mod; ^