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

Re:靠我跑了6s多鄙视下自己

Posted by huicpc0811 at 2009-07-29 01:48:54 on Problem 1904
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:
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