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 |
如此水题,害人不浅。不会的看看其实是道简单题,我sub了N次也没过,TLE,肯定很多人跟我一样吧。下面说说解题步骤: 首先把字符数组转换成整型数组(不会也不用混了); 然后排序,计算数目,把数目大于一的放入结构体。 最后输出结构体数组,这样不会超时。 纯属个人见解。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator