/ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:31:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(y%400==0||y%4==0&&y%100!=0)
                ~~~~~~^~~~~~~~~~
foo.cc: In function 'int day(int, bool)':
foo.cc:21:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
foo.cc: In function 'int main()':
foo.cc:12:4: warning: 'rn' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if(rn)
    ^~
foo.cc:26:7: note: 'rn' was declared here
  bool rn;
       ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2002-12-0, expect 2002-11-30. 2ms 384.0 KiB
#2 Wrong Answer Read 2030-5--13, expect 2030-4-17. 2ms 380.0 KiB
#3 Wrong Answer Read 1977-3--12, expect 1977-2-16. 1ms 384.0 KiB
#4 Wrong Answer Read 1980-3-0, expect 1980-2-29. 1ms 384.0 KiB
#5 Wrong Answer Read 2000-3-0, expect 2000-2-29. 1ms 384.0 KiB
#6 Wrong Answer Read 2000-4--30, expect 2000-3-1. 1ms 384.0 KiB
#7 Wrong Answer Read 2027-2--28, expect 2027-1-3. 1ms 384.0 KiB
#8 Wrong Answer Read 2027-2--30, expect 2027-1-1. 1ms 384.0 KiB
#9 Wrong Answer Read 2027-1-0, expect 2026-12-31. 1ms 384.0 KiB
#10 Wrong Answer Read 2029-6--12, expect 2029-5-19. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1065 生日日数
语言
C++
递交时间
2021-08-04 17:55:51
评测时间
2021-08-04 17:55:51
评测机
分数
0
总耗时
19ms
峰值内存
384.0 KiB