Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
java几点注意1.用BufferedReader代替Scanner,效率提升很多。 2.用全局的Queue 3.用BufferedReader的readLine做好trim,并且有可能输入换行空行,这种都要做好处理 4.输出Final score之后,多输出一个‘\n’,否则格式错误 5.应该不需要自己手写queue,jdk自己的性能足够。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator