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

汗,原来C++里的cin和scanf的效率差这么多~~

Posted by wangshn at 2009-02-26 22:46:49 on Problem 1002
同一个程序,用cin,cout,超时~~
改成scanf,printf,AC,耗时1560ms~~

居然差这么多,看来应该都用scanf,printf了~~

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