运行 ID: 24598

Main.cc: In function ‘int main()’:
Main.cc:13:7: error: expected primary-expression before ‘}’ token
       }   
       ^
Main.cc:16:14: error: continue statement not within a loop
              continue;
              ^~~~~~~~
Main.cc:17:17: error: ‘else’ without a previous ‘if’
          }      else y=(b/a)*100;
                 ^~~~
Main.cc:18:25: error: ‘i’ was not declared in this scope
          if((y-x)>5)ans[i]=1;
                         ^
Main.cc:19:30: error: ‘i’ was not declared in this scope
          else if((x-y)>5)ans[i]=-1;
                              ^
Main.cc:20:19: error: ‘i’ was not declared in this scope
          else ans[i]=0;
                   ^