Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cin' was not declared in this scope
cin>>n;
^
Main.cc:8:6: error: 'cout' was not declared in this scope
cout<<10000-2*(n/2-1);
^
Main.cc:11:3: error: 'cout' was not declared in this scope
cout<<10000-2/n;
^
Main.cc:5:11: warning: unused variable 'o' [-Wunused-variable]
int n,o=10000,j=10000;
^
Main.cc:5:19: warning: unused variable 'j' [-Wunused-variable]
int n,o=10000,j=10000;
^