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?

WA#8. Help! Code included.
Posted by Alexey 2 Jun 2006 17:16
Please, find my mistake!
It'll be deleted after finding it.
Thanks a lot.

***There was my code***

Edited by author 02.06.2006 19:44
Re: WA#8. Help! Code included.
Posted by Ayhan Aliyev 2 Jun 2006 18:49
A test for you:
10 10 1992

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

My AC program's output:

mon        5   12   19   26
tue        6   13   20   27
wed        7   14   21   28
thu   1    8   15   22   29
fri   2    9   16   23   30
sat   3  [10]  17   24   31
sun   4   11   18   25
Admins it would be great if we could delete our posts
Posted by Ayhan Aliyev 2 Jun 2006 18:50


Edited by author 02.06.2006 18:56
No subject
Posted by Ayhan Aliyev 2 Jun 2006 18:53
THANKS
Posted by Alexey 2 Jun 2006 19:43
Thank U.
After correcting mistake (thanks to U)
I found that my program doesn't pass
this test
28 02 2000
The Answer is
mon        7   14   21  [28]
tue   1    8   15   22   29
wed   2    9   16   23
thu   3   10   17   24
fri   4   11   18   25
sat   5   12   19   26
sun   6   13   20   27

So, thanks again!
The previous code is deleted.