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:到底题目还有什么玄机,怎么总是wrong answer,测试数据太少了,看不出来啊,有高手指点一下吗?

Posted by goldenlock at 2005-02-04 23:17:28 on Problem 1006
In Reply To:Re:到底题目还有什么玄机,怎么总是wrong answer,测试数据太少了,看不出来啊,有高手指点一下吗? Posted by:goldenlock at 2005-02-04 23:13:14
我也是这么做的
后来把t=d+33-(d-c)%33;
改成 t=d+1;
while((t-i)%33!=0)
           t++;
就OK了
可我还是不知道t=d+33-(d-c)%33;错在哪 试了N组数据都是一样的啊

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