Page 1 of 1

Java input file

Posted: Mon Jun 16, 2003 11:26 pm
by Trinity
Hi people!

I'm solving problem n

Reading from a file

Posted: Tue Jun 17, 2003 6:55 am
by Spike
To the best of my knowledge, all UVA problems are reading from standard in. This problem was probably taken from an actual ACM competition, which, at least around here, read from a file. ( generally 'a.in' and so fourth )

Try solving the problem reading from standard in. Post again if you're having trouble.

Posted: Fri Aug 08, 2003 10:45 pm
by xbeanx
Is it also possible that the program gets more than one file redirected?

For example, you get input until you reach EOL, then restart your program, and keep doing this until there are no more inputs.

??