HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Ad-Hoc > problem:


50454 - What day is it?

Guest
• Discussion of problem (1)

Section problems

• 50477 - Character Pyramids
• 50498 - K-Means
• 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
• 50454 - What day is it?
• 50474 - Sum of Two Primes
• 50597 - Drawing Diamonds
• 50253 - Timer
• 50294 - Centimeters to Yards
• 50303 - Pattern
• 50882 - FizzBuzz
• 50322 - Snake Pattern
• 50302 - Paper Scissors Rock

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