记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:18: warning: unused variable 'm1' [-Wunused-variable]
  int yy, mm, dd, m1, thatgodays, less=10000, j, k;
                  ^~
foo.cc: In function 'int isleap(int)':
foo.cc:33:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return x%4==0 || x%100==0 && x%400==0;
                   ~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:13:12: warning: 'thatgodays' may be used uninitialized in this function [-Wmaybe-uninitialized]
  thatgodays=thatgodays+dd;
  ~~~~~~~~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read {0}, expect {1}. ["2001-18-3","2002-11-30"] 2ms 356.0 KiB
#2 Wrong Answer Read {0}, expect {1}. ["2028-13-18","2030-4-17"] 1ms 384.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["1975-15-18","1977-2-16"] 2ms 384.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["1978-15-4","1980-2-29"] 2ms 384.0 KiB
#5 Wrong Answer Read {0}, expect {1}. ["1998-15-4","2000-2-29"] 1ms 384.0 KiB
#6 Wrong Answer Read {0}, expect {1}. ["1998-15-3","2000-3-1"] 2ms 384.0 KiB
#7 Wrong Answer Read {0}, expect {1}. ["2025-16-30","2027-1-3"] 2ms 384.0 KiB
#8 Wrong Answer Read {0}, expect {1}. ["2025-17-2","2027-1-1"] 2ms 384.0 KiB
#9 Wrong Answer Read {0}, expect {1}. ["2025-17-3","2026-12-31"] 2ms 384.0 KiB
#10 Wrong Answer Read {0}, expect {1}. ["2029-12-17","2029-5-19"] 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1139 生日日数
比赛
2020苏青奥赛集训营(2021-2-3课堂小练)
语言
C++
递交时间
2021-02-03 13:57:52
评测时间
2021-02-03 13:57:52
评测机
分数
0
总耗时
21ms
峰值内存
384.0 KiB