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

之前题解里有人贴出来的闰年算法是错的!更正之

Posted by lzqxh at 2011-08-13 12:36:47 on Problem 2210
被discuss里的表达式坑了若干个wa
(year-1997)/4-(year-2001)/100+(year-2001)/400; 
闰年个数应该这样算。。。

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