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 1007. Code Words

about problem 1007 : code words
Posted by horizon 3 Oct 2000 21:24
dear sir,

 can't you say that how  can i find end of input in this
problem, when there is no way to get input through a file
?!?
  thanks, horizon team.
Re: about problem 1007 : code words
Posted by Dinh Quang Hiep (mg9h@yahoo.com) 3 Oct 2000 21:40
I think u can use EOF !!!
It works very well!!!!

@lgoriThm

> dear sir,
>
>  can't you say that how  can i find end of input in this
> problem, when there is no way to get input through a file
> ?!?
>   thanks, horizon team.
Re: about problem 1007 : code words
Posted by test for me 20 Mar 2001 19:38
when i use EOF my program didn't stop. How to use it?
Re: about problem 1007 : code words
Posted by liufeng 27 Oct 2001 14:55
> when i use EOF my program didn't stop. How to use it?

read it by character,then judge whether the ch is EOF
when u run your program on your computer ,EOF is Ctrl-z

good luck!