Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register
ACM ICPC 2018 World Finals

惭愧啊。11次WA。。我活不下去了。。贡献数据

Posted by userfriendly at 2008-08-02 21:46:12 on Problem 2080
关键数据:
  闰年、闰年前后一年的 元旦,2月28、29?日, 3月1日, 12月31日。
  特殊闰年和普通闰年要特别注意: 2000及前后、 2004及前后、 2400及前后, 月日同上。
  特殊平年和特殊平年前后一年:2099、2100、2101, 月日同上。

输入    输出
59 2000-02-29 Tuesday
60 2000-03-01 Wednesday
365 2000-12-31 Sunday
366 2001-01-01 Monday

1460 2003-12-31 Wednesday
1461 2004-01-01 Thursday
1520 2004-02-29 Sunday
1521 2004-03-01 Monday
1826 2004-12-31 Friday
1827 2005-01-01 Saturday

36524 2099-12-31 Thursday
36525 2100-01-01 Friday
36583 2100-02-28 Sunday
36584 2100-03-01 Monday
36889 2100-12-31 Friday
36890 2101-01-01 Saturday
  
146096 2399-12-31 Friday
146097 2400-01-01 Saturday
146156 2400-02-29 Tuesday
146157 2400-03-01 Wednesday

我是用自己的程序输出400年和别人AC的程序输出400年,再写一个程序来比结果对找错误结果才发现我自己的bug的。。。可怜啊、可悲啊、可耻啊、可叹啊、惭愧啊、郁闷啊、凄凉啊……

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator