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

用StringBuffer缓存一下比反复调用print()直接输出效果好一些

Posted by stoundmire at 2008-12-22 15:52:51 on Problem 1706 and last updated at 2008-12-22 16:46:19
C++的fgets()用得太烂了,还有空行的意思是除了空格外不含任何字符的行。用StringBuilder比StringBuffer还要快些。

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