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 |
最简单的做法就是直接用电话号码做索引,一千万的数组,还是可以开的 这样的好处是不用排序了 输出的时候要注意一下,不要直接printf("%d-%d %d\n", i/10000, i%10000, a[i]),因为前端的0会输不出来的。必须一位一位输出 供参考 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator