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 full_panic at 2010-07-07 15:21:10 on Problem 1061
In Reply To:用我过了的程序也给几组测试数据,希望对大家有帮助。。。 Posted by:asdf123 at 2008-08-14 20:20:05
> 1 3 5 7 9
> 8
> 2 4 6 8 10
> 4
> 3 6 9 12 15
> 4
> 1 2 1 1 8
> Impossible
> 1 2 3 1 4
> Impossible
> 1 2 3 5 4
> Impossible
> 1 2 5 7 8
> Impossible
> 2 3 5 7 8
> Impossible
> 9 8 7 6 4
> 3
> 3 5 7 8 6
> 4
> 12 33 55 77 9
> 7
> 33 44 66 77 99
> 8
> 22 33 11 55 7
> 0
> 
> 另外提醒一下,数据类型要定义为unsigned long,我定义为int,超时了两次。

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