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?

what about year 1700
Posted by Qba 22 Mar 2002 17:48
Hi !,
1700 isn't a leap year. So february of 1700 have 28 days.
But if YOU check it using
$> cal 2 1700
on any Linux (UN*X) system
You can notice that in 1700 year february have 29 days !!!

Somthing wrong ?? don't You think ?

What's a right answer for example input:
1 2 1700

?
my ac program output this , I don't know more
Posted by MadPsyentist/Sam 22 Mar 2002 18:09
mon [ 1]   8   15   22
tue   2    9   16   23
wed   3   10   17   24
thu   4   11   18   25
fri   5   12   19   26
sat   6   13   20   27
sun   7   14   21   28