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 1201. Which Day Is It?

Help!
Posted by Dmitry 'Diman_YES' Kovalioff 25 Mar 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
Posted by MadPsyentist/Sam 26 Mar 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