Run id: 111683

Main.cc: In function 'int main()':
Main.cc:10:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     for(int i=1;i<=a;i++){
                    ^
Main.cc:11:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       for(int j=1;j<=a;j++){
                      ^
Main.cc:15:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     for(int i=1;i<=b;i++){
                    ^
Main.cc:16:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       for(int j=1;j<=b;j++){
                      ^
Main.cc:20:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
      for(int i=1;i<=b;i++){
                     ^
Main.cc:21:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       for(int j=1;j<=b;j++){
                      ^
Main.cc:24:5: error: expected ';' before '}' token
     }  
     ^
Main.cc:26:31: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
     printf("%.2lf",s/(n*m)*100)
                               ^
Main.cc:27:5: error: expected ';' before 'return'
     return 0;
     ^