/ 逝之oj /

记录详情

Wrong Answer

foo.cc: In function 'bool ily(int)':
foo.cc:4:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    4 |  return n%4==0&&n%100||n%400==0;
      |         ~~~~~~^~~~~~~
foo.cc: In function 'int mmd(int, int)':
foo.cc:10:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   10 |  else if(m<=7&&m%2==1||m>=8&&!m%2==0)sum=31;
      |          ~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 31, expect 61. 3ms 384.0 KiB
#2 Wrong Answer Read 31, expect 60. 2ms 384.0 KiB
#3 Wrong Answer Read 31, expect 366. 2ms 384.0 KiB
#4 Wrong Answer Read 31, expect 365. 2ms 384.0 KiB
#5 Wrong Answer Read 29, expect 41. 6ms 384.0 KiB

信息

递交者
类型
递交
题目
P1003 计算某日期的天数
语言
C++
递交时间
2022-07-13 15:27:14
评测时间
2022-07-13 15:27:14
评测机
分数
0
总耗时
17ms
峰值内存
384.0 KiB