Run id: 5299

Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
     cin>>n;
     ^
Main.cc:11:5: error: expected ',' or ';' before 'int'
     int m
     ^
Main.cc:12:17: error: 'i' was not declared in this scope
     for(int i=1;i<=n;i++){
                 ^
Main.cc:12:25: error: expected ';' before ')' token
     for(int i=1;i<=n;i++){
                         ^
Main.cc:15:5: error: 'cout' was not declared in this scope
     cout<<no<<endl;
     ^
Main.cc:15:11: error: 'no' was not declared in this scope
     cout<<no<<endl;
           ^
Main.cc:15:15: error: 'endl' was not declared in this scope
     cout<<no<<endl;
               ^
Main.cc:10:9: warning: unused variable 'maxn' [-Wunused-variable]
     int maxn=0
         ^