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

奇怪,G++中cout比较快么?

Posted by ZxMYS2 at 2009-06-10 17:12:02 on Problem 2761 and last updated at 2009-06-10 17:13:47
5286723	ZxMYS2	2761	Accepted	3296K	2313MS	G++	2654B	2009-06-10 17:04:49
5286695	ZxMYS2	2761	Accepted	3304K	1438MS	G++	2522B	2009-06-10 17:00:15

上面一个是printf,下面一个是cout
cout居然比printf快这么多……
但是如果用C++编译的话,情况又反过来了(正常了)

不明白为什么……

(code length不一样是因为我加了一些注释在头部)

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