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 |
终于AC,谈下感想做了两天,终于AC了,主要是不够细心,小的错误很多,调试了很久..... 思路其实只要考虑一种情况可以跳过大量的节点,是上面3个点在同一个pair,中间和下面的也分别在一个pair中,的情况,可以压缩,如: 66666666666 77777777788 88888888888 第二个7开始可以压缩,到倒数第二个7........ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator