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 |
写两个函数就好了一个是currentDigitValid (1-9), 一个是prevCurrDigitsValid(10--26)就可以处理所有情况了。 我直接开了字符串一样长的vector, 不存在开多少的问题。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator