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

WA最常出现的问题

Posted by David_Wang at 2007-02-04 21:46:39 on Problem 1008
第一年的最后一天(第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