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 |
Re:靠我跑了6s多鄙视下自己In Reply To:靠我跑了6s多鄙视下自己 Posted by:foreverlin at 2009-07-26 19:21:31 C++ scanf() 3797ms O(MLOGM) C++ getcahr() 4750ms O(MLOGM) G++ scanf() 10000ms O(MLOGM) G++ getcahr() 8125ms O(MLOGM) C++ scanf() 3969ms O(N^2) G++ getcahr() 8469ms O(N^2) 可以看出很大程度影响效率的是读入方法和编译器。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator