运行 ID: 1782

Main.cc: In function ‘int main()’:
Main.cc:7:12: error: expected primary-expression at end of input
   if(a%6==0||
            ^~
Main.cc:7:12: error: expected ‘)’ at end of input
Main.cc:7:12: error: expected statement at end of input
Main.cc:7:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   if(a%6==0||
   ^~
cc1plus: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Main.cc:7:12: error: expected ‘}’ at end of input
   if(a%6==0||
            ^~
Main.cc:4:10: warning: unused variable ‘i’ [-Wunused-variable]
  int a,b,i=0;
          ^
Main.cc:7:12: error: expected ‘}’ at end of input
   if(a%6==0||
            ^~
Main.cc:5:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&a,&b);
  ~~~~~^~~~~~~~~~~~~~~