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 |
用gets代替scanf就156ms过了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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator