HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Ad-Hoc > problem:


50454 - What day is it?

Guest
• Discussion of problem (1)

Section problems

• 50505 - kht Puzzle
• 50346 - The Biggest Date
• 50512 - Coding redundancy
• 50528 - Rock-Scissors-Paper
• 50493 - n-digit kth Prime Number
• 50520 - Filling a Matrix Randomly
• 50357 - Convert Euros into Dollars
• 50355 - Bills of City Water Company
• 50454 - What day is it?
• 50350 - Fahrenheit to Celsius
• 50356 - Hours Passed
• 50466 - Drawing Square From Stars
• 50351 - Convert inches to cm
• 50467 - Random Numbers
• 50474 - Sum of Two Primes
• 50371 - Modified Karnaugh-Map
• 50580 - Days passed

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