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 1038. Spell Checker

How to realize input
Posted by TNTeam 17 Mar 2006 03:21
Can you help me to understand the way in which string is inputing. How may there be eoln-signs if we don't know the exact number of lines. If possible, give input example in C
Re: How to realize input
Posted by TNTeam 17 Mar 2006 03:31
So... I understood that input must end with symbol with code 26. How to input it from a keyboard? Alt + 0026 doesn't help. But more important is the question how to get symbol from KB in Cpp. Tried to use getchar and getc(stdin). Time limit...
Re: How to realize input
Posted by TNTeam 17 Mar 2006 03:36
Hm. Ctrl+Z helps good
Re: How to realize input
Posted by TNTeam 17 Mar 2006 03:37
Pardon. Ctrl makes my app close, no more :-(