CODEIT03 - Play with Dates
Problem Statement:
Given the date, month and year, find the day.
Input Specification:
The first line consists of an integer t, the number of test cases. Then for each test case there are three integers the date, month and year.
Output Specification:
For each test case print the day in words in a separate line (The first character should be capitalised followed by lowercase).
Input Constraints:
1 <= t <= 100
Date/month/year >= 11/1/2012
Date/month/year <= 31/12/3000
The given date will always be a valid date
Sample Input:
3
11 1 2012
12 1 2012
13 1 2012
Sample Output:
Wednesday
Thursday
Friday
hide comments
ήάέέϻ Ÿ:
2014-07-04 21:56:03
year>=2012 keep in mind.
|
|
kelaseek:
2014-06-26 13:03:57
getting wrong answer please check.. my code gives correct answer for almost all test cases Last edit: 2014-06-26 15:28:45 |
|
damroo:
2013-10-18 18:53:31
Pritam
|
|
Pritam Prakash:
2013-08-21 11:32:56
easy one!
|
|
Bhagwat:
2013-06-16 04:08:13
Here is some test cases
|
|
Zeref:
2013-06-06 09:39:28
Some test cases:
|
|
Brotherhood:
2013-02-06 15:29:14
why am i getting wa ?
|
|
!!.Nginx.!!:
2013-01-31 08:44:34
Java - TLE c - AC
|
|
kamalesh:
2012-12-13 09:13:55
my 50th.... after 4 WA's finally AC.... thanks Tjandra Satria Gunawan.. |
|
$!:D:
2012-12-08 17:05:51
Last edit: 2012-12-12 04:18:13 |
Added by: | cegprakash |
Date: | 2012-01-09 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |