Main.cc: In function 'int main()':
Main.cc:6:2: error: expected ',' or ';' before 'int'
int n;
^
Main.cc:8:7: error: 'n' was not declared in this scope
cin>>n;
^
Main.cc:12:4: error: 'mx' was not declared in this scope
mx=tz;
^