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:10组测试数据。自己疯狂WA,使用测试数据后发现了问题:(使用全局变量时,每组数据测试时要把全局变量初始化)

Posted by 1115723082 at 2022-01-23 14:36:43 on Problem 1222
In Reply To:10组测试数据。自己疯狂WA,使用测试数据后发现了问题:(使用全局变量时,每组数据测试时要把全局变量初始化) Posted by:18438837261 at 2021-08-16 16:06:01
> Sample Input
> 10
> 1 0 1 1 0 1
> 0 1 0 1 0 1
> 0 0 0 0 0 0
> 1 0 0 1 1 1
> 0 1 0 0 1 1
> 1 0 1 0 1 1
> 1 0 0 0 0 1
> 1 1 0 1 0 0
> 0 0 0 1 1 0
> 0 1 0 1 0 1
> 0 1 0 1 0 1
> 0 1 1 1 0 0
> 0 1 0 0 1 0
> 1 0 1 1 1 0
> 0 1 0 1 0 0
> 1 0 1 0 1 1
> 0 1 0 0 1 1
> 1 1 1 1 0 1
> 0 0 1 1 1 0
> 1 0 1 1 0 1
> 0 1 0 1 1 0
> 0 0 1 0 1 1
> 1 0 0 0 1 1
> 0 0 0 1 0 0
> 1 0 1 1 0 1
> 1 0 0 1 0 0
> 0 0 0 0 1 0
> 1 0 1 1 0 1
> 1 0 1 0 0 0
> 0 1 0 0 0 1
> 0 0 1 1 0 0
> 0 1 0 1 1 0
> 1 0 1 0 1 0
> 0 1 0 0 0 1
> 1 0 1 0 0 1
> 0 0 1 1 0 0
> 1 1 0 1 1 0
> 1 0 1 1 0 1
> 0 1 0 1 1 1
> 1 1 1 0 0 1
> 0 0 0 0 0 0
> 0 1 0 0 1 1
> 0 1 1 1 0 0
> 0 1 0 1 1 0
> 0 1 1 1 0 1
> 1 0 0 1 0 1
> 1 0 1 1 1 0
> 0 1 1 0 0 1
> 0 0 1 0 0 1
> 1 0 1 1 0 1
> 
> 
> Sample Output
> PUZZLE #1
> 1 0 1 1 0 0
> 0 0 1 1 1 1
> 1 0 1 1 1 1
> 1 0 1 0 0 1
> 1 0 0 1 1 1
> PUZZLE #2
> 0 0 0 1 0 0
> 1 0 0 1 0 1
> 0 1 1 0 0 0
> 1 1 0 1 0 1
> 0 1 1 0 1 1
> PUZZLE #3
> 1 1 0 1 1 0
> 0 1 0 1 0 0
> 0 1 1 1 0 0
> 1 0 1 1 0 0
> 0 1 0 0 0 0
> PUZZLE #4
> 0 0 1 0 1 1
> 1 1 0 0 1 1
> 0 1 0 1 0 0
> 1 1 1 0 0 0
> 0 0 1 1 1 0
> PUZZLE #5
> 0 0 0 0 1 1
> 0 1 0 0 1 0
> 1 1 0 1 1 1
> 1 1 0 0 1 1
> 1 1 1 1 1 1
> PUZZLE #6
> 1 0 0 1 0 1
> 0 1 1 0 0 1
> 0 0 0 0 0 0
> 1 1 0 1 0 0
> 1 0 1 1 1 0
> PUZZLE #7
> 1 1 0 0 0 1
> 0 0 0 1 1 1
> 1 0 1 1 0 1
> 0 0 1 1 0 0
> 1 0 1 1 1 0
> PUZZLE #8
> 0 1 0 1 1 0
> 1 1 1 1 0 1
> 1 1 1 0 0 1
> 0 0 0 1 1 1
> 1 0 0 1 0 0
> PUZZLE #9
> 0 1 0 1 0 0
> 1 1 0 1 1 0
> 0 0 0 1 1 0
> 1 0 0 0 1 1
> 1 0 0 1 0 0
> PUZZLE #10
> 0 1 0 1 0 1
> 0 1 0 0 0 0
> 0 0 0 0 1 1
> 0 0 1 1 0 1
> 0 1 1 0 1 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