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:用java写应该怎么结束阿?

Posted by gemenhao at 2006-07-21 09:15:01 on Problem 2001
In Reply To:用java写应该怎么结束阿? Posted by:vanguard001 at 2006-07-21 07:40:08
JDK 1.5 
	    Scanner cin = new Scanner(System.in);
	    while(cin.hasNextInt()){
		int a = cin.nextInt();
		
	    }

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