显示:warning: suggest parentheses around && within ||
警告原因:用了if(y%4==0&&y%100!=0||y%400==0)
解决方法:改为if((y%4==0&&y%100!=0)||(y%400==0))
显示:warning: suggest parentheses around && within ||
警告原因:用了if(y%4==0&&y%100!=0||y%400==0)
解决方法:改为if((y%4==0&&y%100!=0)||(y%400==0))