0_0_15913489_1694.cpp: In function 'int main()': 0_0_15913489_1694.cpp:12:9: error: redeclaration of 'int num' int num,p1,p2; ^ 0_0_15913489_1694.cpp:11:38: note: 'int num' previously declared here int t,a,b,c,left,right,minn,maxn,num; ^