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

这是一类,反转问题。类似的poj习题还有3279、1222

Posted by 947186602 at 2020-09-05 20:19:25 on Problem 1753
思路都差不多

枚举第一行状态00010001....
贪心,后面N-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