NEED HELP, PLEASE!!! URGENT!!!!!!

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
Trinity
New poster
Posts: 12
Joined: Tue Jun 10, 2003 3:40 pm

NEED HELP, PLEASE!!! URGENT!!!!!!

Post by Trinity »

People!

Need Help, please..

I'm geting WA w/ 2 problems I'm trying to solve... (n
ice_mountain_
New poster
Posts: 5
Joined: Wed Sep 29, 2004 7:25 pm

Post by ice_mountain_ »

from what someone told me, input and output are separate streams; theres no need to leave lines or anything, just follow closely the output requirement. termination of input is when theres a 'EOF' (end of file). i'm not quite sure what this is in java and how to detect it. if someone knows, pls post here, thx.
Maniac
Experienced poster
Posts: 105
Joined: Tue Oct 14, 2003 3:24 pm
Location: Utrecht, Holland

Post by Maniac »

both problems should indeed keep on handling test cases until EOF (end of file) is detected. See another thread on this java-forum called 'Java useful methods to save time' and you'll find a way to detect EOF.

Does this help you enough?
Greetz, Erik

P.S. of course input and output are separate streams!
Post Reply

Return to “Java”