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:datasets that hopefully may help us

Posted by kakaluoter at 2016-05-30 16:01:00 on Problem 3009
In Reply To:datasets that hopefully may help us Posted by:Magic347 at 2010-11-26 15:15:52
> input:
> (1)
> 2 1
> 2 3
> 
> (2)
> 6 1
> 2 0 0 0 0 3
> 
> (3)
> 8 8
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 2 3 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 
> (4)
> 8 8
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 2 1 3 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1
> 
> (5)
> 4 4
> 0 0 0 2
> 0 0 0 0
> 0 0 0 0
> 0 0 0 3
> 
> (6)
> 10 10
> 0 3 0 0 0 0 0 0 0 0
> 1 1 1 0 0 1 0 1 0 0
> 0 0 0 0 0 0 0 0 0 1
> 1 0 1 1 0 0 1 0 0 1
> 1 0 0 1 1 1 1 1 0 1
> 1 1 1 2 0 1 1 0 1 1
> 1 0 1 0 0 0 1 0 1 0
> 1 1 0 0 1 1 0 1 1 0
> 0 1 0 1 0 0 0 0 0 1
> 0 1 1 1 0 1 0 1 1 0
> 
> 
> (7)
> 20 20
> 0 1 0 0 0 0 1 0 1 0 0 1 0 2 0 1 0 1 0 0
> 1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 1
> 0 0 1 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 1 0
> 0 0 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39):
> 2
> 9
> 7 
> -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