ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1257. Переносы

A very strange thing (may be WA#9 skip)
Послано Neznakomec 23 июл 2013 03:13
A bug or feature the situation that
last <ENTER> does not count as an error??

For example on test

"
12
un-usual
for-ced
re-al
sum-mer
N-ED
home-work
sec-ret
ho-lidays
Wi-zard
th-Er
L-so
Holi-days
Harry Potter was a highly unusual boy in many ways.
For one thing, he hated the summer holidays more than any
other time of year. For another, he really
 wanted to do his homework but was forced to do it in
secret, in the dead of night. And he also happened
to be a wizard.
"

my program gives away
"
Harry Potter was a highly unusual boy in
 many ways.
For one thing, he hated the summer holi-
days more than any
other time of year. For another, he
really
 wanted to do his homework but was for-
ced to do it in
secret, in the dead of night. And he al-
so happened
to be a wizard.<ENTER>
"
(All the attention on line carry after "wizard.")

I've done it to pass WA#9, cause understood
that
output:
"
"
(nothing)

on input like
"
<ENTER>
"
not good...

Edited by author 23.07.2013 03:14

Edited by author 23.07.2013 03:14