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

勿用cin,少用string

Posted by pkkj at 2008-12-16 00:03:07 on Problem 3497
使用cin+string的代码,1000ms,险过剃头
使用scanf+string的代码,6xx ms,好一点
使用scanf+char[]的代码,250 ms,与1000ms,刚好是1/4的差别

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