HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Functions > problem:


200. 50454 - What day is it?

Guest
• Discussion of problem (1)

Volume problems

• 050. 50566 - Grade Point Average (...
• 066. 50523 - Total Tax to Pay
• 070. 50534 - Top Trading Company
• 095. 50453 - The Cubic Difference
• 125. 50578 - Mersenne prime
• 132. 50474 - Sum of Two Primes
• 165. 50577 - Perfect Numbers and ...
• 190. 50533 - Contacts List
• 200. 50454 - What day is it?
• 210. 50369 - Base Conversion
• 250. 50385 - The 3n + 1 problem
• 260. 50493 - n-digit kth Prime Number
• 50307 - Palindromes
• 50305 - John's Tasks
• 002. 50428 - Three Times
• 010. 50582 - Number of digits
• 035. 50467 - Random Numbers

Feedback

If you notice incorrect translations in Contester, please let author know.

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


Для отправки решений необходимо выполнить вход.

www.contester.ru