Run id: 143350
Main.cc: In function 'int main()':
Main.cc:14:9: error: 'tot' was not declared in this scope
tot++;
^
Main.cc:20:11: error: 'tot' was not declared in this scope
if(a[1]>tot*1.0/2)
^
Main.cc:8:20: warning: unused variable 'A' [-Wunused-variable]
int a[101]={0},A=0,B=0,C=0,x=0,Tot=0;
^
Main.cc:8:24: warning: unused variable 'B' [-Wunused-variable]
int a[101]={0},A=0,B=0,C=0,x=0,Tot=0;
^
Main.cc:8:28: warning: unused variable 'C' [-Wunused-variable]
int a[101]={0},A=0,B=0,C=0,x=0,Tot=0;
^