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 |
一个规律对于按下的总次数c大与4的那么c=c%4+4; 因为:如果c大于4,那么4个按扭都可以被按到 留下的肯定都是重复的,那就看是谁会被重复了 比如说:c=8;那么效果就和c=4相同,要么有的被重复,要么不被重复 c=9,效果同c=5;.. 接下来直接暴力就可以过了。. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator