/ OPS /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool isLeapyear(int)':
/in/foo.cc:7:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  if((n%4==0)&&(n&100!=0)||(n%400==0))return 1;
                 ^
/in/foo.cc:7:24: warning: 'and' of mutually exclusive equal-tests is always 0
  if((n%4==0)&&(n&100!=0)||(n%400==0))return 1;
                        ^
/in/foo.cc:7:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if((n%4==0)&&(n&100!=0)||(n%400==0))return 1;
                         ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 196.0 KiB

信息

递交者
类型
递交
题目
P1129 统计天数
语言
C++
递交时间
2023-03-25 13:08:33
评测时间
2023-03-25 13:08:33
评测机
分数
0
总耗时
1ms
峰值内存
196.0 KiB