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,不是很明白。感觉没写错,而且sample也通过了。

Posted by shimeitang at 2007-02-04 23:29:44 on Problem 1009
In Reply To:Re:谁给些比较特殊的数据啊。我总是得到wrong answer,不是很明白。感觉没写错,而且sample也通过了。 Posted by:ghostzms at 2007-01-06 23:17:06
> input:
> 1
> 33 1
> 0 0
> 1
> 1 12
> 2 1
> 0 0
> 2
> 1 22
> 2 2
> 0 0
> 2
> 0 5
> 8 1
> 1 5
> 8 1
> 2 5
> 8 1
> 3 5
> 8 1
> 4 5
> 8 1
> 0 0
> 7
> 15 4
> 100 15
> 25 2
> 175 2
> 25 5
> 175 2
> 25 5
> 0 0
> 10
> 35 500000000
> 200 500000000
> 0 0
> 3
> 255 1
> 10 1
> 255 2
> 10 1
> 255 2
> 10 1
> 255 1
> 0 0
> 10
> 1 52
> 2 48
> 5 10
> 3 69
> 8 10
> 4 71
> 0 0
> 0
> 
> output:
> 1
> 0 1
> 0 0
> 1
> 0 11
> 1 2
> 0 0
> 2
> 0 20
> 1 4
> 0 0
> 2
> 0 2
> 8 4
> 7 6
> 6 6
> 5 6
> 4 6
> 0 0
> 7
> 85 5
> 0 2
> 85 5
> 75 10
> 150 2
> 75 3
> 0 2
> 150 2
> 0 4
> 0 0
> 10
> 0 499999990
> 165 20
> 0 499999990
> 0 0
> 3
> 245 9
> 0 0
> 10
> 0 41
> 1 19
> 0 10
> 1 3
> 0 17
> 3 20
> 2 10
> 0 48
> 5 21
> 4 1
> 0 40
> 4 10
> 0 20
> 0 0
> 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