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

Re:WA最常出现的问题

Posted by candy_102092 at 2007-02-08 19:55:31 on Problem 1008
In Reply To:WA最常出现的问题 Posted by:David_Wang at 2007-02-04 21:46:39
> 第一年的最后一天(第240天)不是在第二年!
> 因为在算Year时常用到 Year=all/240;
> 可以改为 Year=all/241;
> 或 Year=all/240-(all%240==0)?1:0;
 谢谢提醒拉

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