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

用gets代替scanf就156ms过了

Posted by DayDream at 2008-02-02 18:58:39 on Problem 3494
In Reply To:Re:用这个题的思路 :) http://acm.pku.edu.cn/JudgeOnline/problem?id=2559 Posted by:Bark at 2008-02-02 11:18:48
2 3075226(6) DayDream 244K 156MS G++ 959B 2008-02-02 18:57:10 

> 
> 谢谢Sempr提示,593MS水过,O(n^2)的算法,
> 不知那些100多MS的是怎么写得,难道此题有O(n)的算法吗?

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