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 1257. Hyphenation

Hints
Posted by Denis Koshman 19 Aug 2008 16:04
(for C++)
read 1st part using gets()
read the text using getc()

don't put 2 line breaks if '\n' happens to be 41th character in a line.