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

Re:这道题的输入数据很长,结果我用jdk1.5的Scanner类接收数据很慢以致TLE,改用了BufferedReader类接收就AC了,看来有时还真得考虑到Scanner类的时间效率啊!

Posted by afterglow at 2008-07-28 17:32:59 on Problem 1182
In Reply To:这道题的输入数据很长,结果我用jdk1.5的Scanner类接收数据很慢以致TLE,改用了BufferedReader类接收就AC了,看来有时还真得考虑到Scanner类的时间效率啊! Posted by:goalboy at 2006-04-09 15:34:06
早点看到这个也不至于TLE后还怀疑自己编的程序太菜了
以后不用Scanner了

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