Main.cc: In function 'int main()':
Main.cc:9:10: error: 'n' was not declared in this scope
cin>>n;
^
Main.cc:11:16: error: expected primary-expression before ';' token
y-=y*5%;
^
Main.cc:15:10: warning: statement has no effect [-Wunused-value]
y-5000;
^
Main.cc:17:5: error: expected ';' before '}' token
}
^
Main.cc:8:18: warning: unused variable 's' [-Wunused-variable]
int y=100000,s,x;
^