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

请问会JAVA大牛们一个关于输入的问题~bufferedreader~

Posted by happyczx at 2009-03-20 17:34:57
 Line 1: Two space-separated integers: N and M
* Lines 2..N+1: Line i+1 describes charm i with two space-separated integers: Wi and Di 

Sample Input

4 6
1 4
2 6
3 12
2 7
比如这样子的数据,如果不用Scanner类,用bufferedreader,应该怎么做,每次用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