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

同样是10W组输出,cout用时5000ms+,printf 500ms+。。。。同理cin

Posted by majia5 at 2008-10-19 19:39:59 on Problem 1002 and last updated at 2008-10-19 19:42:26
In Reply To:TLE后的AC Posted by:krime at 2008-10-19 19:38:40
> 这题TLE了n次,偶然下将c++中的std::cin改成gets(),结果居然AC了.
> 难道cin就比gets()耗时?!

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