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

真想知道,30MS的思路是什么呢?

Posted by tengjiaozhao at 2010-02-05 09:46:10 on Problem 1002
我的思路是(相比其他方法,最快的一种方法,可以跑到3xxMS)
1. 把输入转化成数字,存储到一个定长数组中;
2. 对数组排序;
3. 遍历数组,寻找重复的数,输出;

可是,以这个思路为基础,怎么也不可能存在数量级的突破。真想知道能跑进100MS的思路是什么。

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