0_0_15828758_9951.cpp: In function 'int main()': 0_0_15828758_9951.cpp:28:17: error: redeclaration of 'int v' int v=(1LL*A*i+B)%(i-1)+1; ^ 0_0_15828758_9951.cpp:26:21: note: 'int v' previously declared here int u=i,v; ^