Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Question by Ibrahim Mesecan.
What day is it?
Question:
You are writing a program in which you have
operations related to date. Write a program
that reads date information and
calculates the day of it.
One year has 365.2496 days and 1-1-1900 is Monday.
Input specification
You will be given three integers: Day, Month, Year
where year is a positive integer between 1900 and 2050.
Output specification
Find and show the day of the week: Monday, Tuesday, etc.
Sample Input I |
Sample Output I |
29 3 1996
|
Friday
|
Для отправки решений необходимо выполнить вход.
|