运行 ID: 55803

Main.cc: In function ‘int main()’:
Main.cc:7:23: error: lvalue required as increment operand
     for(int i=1;i<=a;1++){
                       ^~
Main.cc:9:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         if (n=num){
             ~^~~~