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 判定-1:拆分下去的子串S1,S2一定会达到最开始输入的状态,那么判断一下最新的S1是不是和原来的S1一样就OK了。如果出现一样且未达到条件就直接break,输出-1 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator