运行 ID: 285
Main.cc:5:35: error: stray ‘\’ in program
if(b==1||b==3||b==5||b==7||b==8||\) c=31;
^
Main.cc: In function ‘int main()’:
Main.cc:5:36: error: expected primary-expression before ‘)’ token
if(b==1||b==3||b==5||b==7||b==8||\) c=31;
^
Main.cc:6:45: warning: statement has no effect [-Wunused-value]
if(b==4||b==6||b==9||b==11||b==10||b==12) c==30;
~^~~~
Main.cc:4:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
~~~~~^~~~~~~~~~~~~~~