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:注意这组数据

Posted by hitman47 at 2009-10-15 08:48:12 on Problem 1008
In Reply To:Re:注意这组数据 Posted by:200631000602 at 2008-08-03 09:59:02
> 我的结果都对,但就是runtime error
runtime error 应该是没有考虑到被除数小于零的情况,
              我写的是 (day+20-1) % 20+1
这组数据的确应该选尾数为4的那个作为正确答案,即如果总天数能整除260,则年号应该减去1

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