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 |
简单证明// | ... a1| | ... a2| ... | ac|| ... | // 后面的| ... | 是没有完整的 1 - k // 统计前面出现完整的 1 - k 的个数 c , c + 1 就是答案 // 设每一个完整的1 - k 以 ai结束( 1 <= i <= c ) // 假设最后一个缺少 aj , 则无法构造 a1 a2 ... ac aj Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator