记录详情

Wrong Answer

foo.cc: In function 'int isLeapYear(int)':
foo.cc:5:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    5 |  if(year%4==0&&year%100!=0||year%400==0)
      |     ~~~~~~~~~^~~~~~~~~~~~~
foo.cc: In function 'int rqc(int, int, int, int, int, int)':
foo.cc:41:5: warning: 'zd' may be used uninitialized in this function [-Wmaybe-uninitialized]
   41 |   zd+=365-passDays(y1,m1,d1);
      |   ~~^~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1082673681, expect 6717. 4ms 384.0 KiB
#2 Wrong Answer Read -1221790863, expect 18415. 4ms 384.0 KiB
#3 Wrong Answer Read -1100876327, expect 43252. 4ms 384.0 KiB
#4 Wrong Answer Read -486493051, expect 79776. 5ms 384.0 KiB
#5 Wrong Answer Read -1895624481, expect 5114. 5ms 384.0 KiB

信息

递交者
类型
递交
题目
5-6 过去了多少天
比赛
2022暑期青少年社团(入门赛)
语言
C++
递交时间
2022-07-28 20:33:16
评测时间
2022-07-28 20:33:16
评测机
分数
0
总耗时
24ms
峰值内存
384.0 KiB