Run id: 146503
Main.cc: In function 'int main()':
Main.cc:4:9: error: two or more data types in declaration of 'xl'
int xl,xt,n,cnt;
^
Main.cc:4:12: error: two or more data types in declaration of 'xt'
int xl,xt,n,cnt;
^
Main.cc:4:15: error: two or more data types in declaration of 'n'
int xl,xt,n,cnt;
^
Main.cc:4:17: error: two or more data types in declaration of 'cnt'
int xl,xt,n,cnt;
^
Main.cc:5:2: error: 'n' was not declared in this scope
n=xl=xt=0;
^
Main.cc:5:4: error: 'xl' was not declared in this scope
n=xl=xt=0;
^
Main.cc:5:7: error: 'xt' was not declared in this scope
n=xl=xt=0;
^
Main.cc:11:13: error: 'cnt' was not declared in this scope
if(xt==xl)cnt++;
^
Main.cc:13:8: error: 'cnt' was not declared in this scope
cout<