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:尼玛假设100次不过就-1,这都能AC·····跪求大牛判定-1方法!!!

Posted by zsw95 at 2011-09-16 00:43:22 on Problem 3087
In Reply To:尼玛假设100次不过就-1,这都能AC·····跪求大牛判定-1方法!!! Posted by:songzhenqi at 2011-08-11 11:26:36
其实这个是有周期性的(可以参考群论的一些知识)
所以只需要判断:是否变换回初始状态时已经经过了目标状态,如果没有则无解

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