foo.cc: In function 'bool isrunnian(int)':
foo.cc:5:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(a%4==0&&a%100!=0||a%400==0);
^
foo.cc: In function 'bool islastday(int, int, int)':
foo.cc:9:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:124: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:138: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:152: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:9:166: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==29||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:99: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:112: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:125: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:139: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:153: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
foo.cc:11:167: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return(b==1&&c==31||b==2&&c==28||b==3&&c==31||b==4&&c==30||b==5&&c==31||b==6&&c==30||b==7&&c==31||b==8&&c==31||b==9&&c==30||b==10&&c==31||b==11&&c==30||b==12&&c==31);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-04-02T06:44:26.998Z","handle":"2020-04-02T06:44:26.998Z","cache_start":"2020-04-02T06:44:27.006Z","read_cases":"2020-04-02T06:44:27.185Z","judge":"2020-04-02T06:44:27.188Z","done":"2020-04-02T06:44:27.723Z"}