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

Обсуждение задачи 1201. Какой сегодня день?

Help!
Послано Dmitry 'Diman_YES' Kovalioff 25 мар 2002 10:49
Please, help me!
Explain me what is the correct form of output.
If Input is
1 1 1600
What is the Output?
My Output is (in this example I use dots, but in real output - spaces)

mon........3...10...17...24...31
tue........4...11...18...25.....
wed........5...12...19...26.....
thu........6...13...20...27.....
fri........7...14...21...28.....
sat.[.1]...8...15...22...29.....
sun...2....9...16...23...30.....

If Input is
8 1 1600
What is the Output?
My Output is (in this example I use dots, but in real output - spaces)

mon........3...10...17...24...31
tue........4...11...18...25.....
wed........5...12...19...26.....
thu........6...13...20...27.....
fri........7...14...21...28.....
sat...1..[.8]..15...22...29.....
sun...2....9...16...23...30.....

Is something wrong?
...
Should I write spaces to the ends of short strings? (I tryed both)
May I use str-procedure?
...
Diman_YES[UT], the leader of Universal Team
my ac program give the same output , I don't know more
Послано MadPsyentist/Sam 26 мар 2002 17:54
> Please, help me!
> Explain me what is the correct form of output.
> If Input is
> 1 1 1600
> What is the Output?
> My Output is (in this example I use dots, but in real output - spaces)
>
> mon........3...10...17...24...31
> tue........4...11...18...25.....
> wed........5...12...19...26.....
> thu........6...13...20...27.....
> fri........7...14...21...28.....
> sat.[.1]...8...15...22...29.....
> sun...2....9...16...23...30.....
>
> If Input is
> 8 1 1600
> What is the Output?
> My Output is (in this example I use dots, but in real output - spaces)
>
> mon........3...10...17...24...31
> tue........4...11...18...25.....
> wed........5...12...19...26.....
> thu........6...13...20...27.....
> fri........7...14...21...28.....
> sat...1..[.8]..15...22...29.....
> sun...2....9...16...23...30.....
>
> Is something wrong?
> ...
> Should I write spaces to the ends of short strings? (I tryed both)
> May I use str-procedure?
> ...
> Diman_YES[UT], the leader of Universal Team