ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1001. Reverse Root

How do we know when the input finishes ?
Posted by Varun Sharma 13 Apr 2009 11:58
Hi,

When we read the input from stdin/stdout, when do we stop reading the input ?

Thanks
Re: How do we know when the input finishes ?
Posted by Sandro (USU) 13 Apr 2009 12:24
Read "Frequently asked questions"
Re: How do we know when the input finishes ?
Posted by wakeme 18 Apr 2009 07:51
Scanner a=new  Scanner(System.in);
a.hasNextInt();