Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:尼玛假设100次不过就-1,这都能AC·····跪求大牛判定-1方法!!!In Reply To:尼玛假设100次不过就-1,这都能AC·····跪求大牛判定-1方法!!! Posted by:songzhenqi at 2011-08-11 11:26:36 其实这个是有周期性的(可以参考群论的一些知识) 所以只需要判断:是否变换回初始状态时已经经过了目标状态,如果没有则无解 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator