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

恍然大悟~!~!~!~

Posted by insky at 2007-07-09 09:57:09 on Problem 3210
说一下2个为什么是no sou吧!
题目说的是严格翻转次数x,不管初试态是什么都必须是经过x次达到目标态!
0 0  需要2*k次
0 1  需要1+2*k
1 0  1+2*k
1 1  需要2*k次

一个需要奇数次,一个需要偶数次,所以不可能存在一个x使得所有情况都能成立!

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