Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

如此水题,害人不浅。不会的看看

Posted by like680623 at 2010-12-03 12:44:22 on Problem 1002
其实是道简单题,我sub了N次也没过,TLE,肯定很多人跟我一样吧。下面说说解题步骤:
首先把字符数组转换成整型数组(不会也不用混了);
然后排序,计算数目,把数目大于一的放入结构体。
最后输出结构体数组,这样不会超时。


纯属个人见解。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator