Monthly Calendar

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

For each given year and month, display that month's calendar.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

2012 10
2012 11
2012 12

Sample output:

Oct 2012
     1  2  3  4  5  6
  7  8  9 10 11 12 13
 14 15 16 17 18 19 20
 21 22 23 24 25 26 27
 28 29 30 31

Nov 2012
              1  2  3
  4  5  6  7  8  9 10
 11 12 13 14 15 16 17
 18 19 20 21 22 23 24
 25 26 27 28 29 30

Dec 2012
                    1
  2  3  4  5  6  7  8
  9 10 11 12 13 14 15
 16 17 18 19 20 21 22
 23 24 25 26 27 28 29
 30 31

Sample input:_

2010 4
2016 1
2009 12
1995 3
1998 8
2001 2

Sample output:

Apr 2010
              1  2  3
  4  5  6  7  8  9 10
 11 12 13 14 15 16 17
 18 19 20 21 22 23 24
 25 26 27 28 29 30

Jan 2016
                 1  2
  3  4  5  6  7  8  9
 10 11 12 13 14 15 16
 17 18 19 20 21 22 23
 24 25 26 27 28 29 30
 31

Dec 2009
        1  2  3  4  5
  6  7  8  9 10 11 12
 13 14 15 16 17 18 19
 20 21 22 23 24 25 26
 27 28 29 30 31

Mar 1995
           1  2  3  4
  5  6  7  8  9 10 11
 12 13 14 15 16 17 18
 19 20 21 22 23 24 25
 26 27 28 29 30 31

Aug 1998
                    1
  2  3  4  5  6  7  8
  9 10 11 12 13 14 15
 16 17 18 19 20 21 22
 23 24 25 26 27 28 29
 30 31

Feb 2001
              1  2  3
  4  5  6  7  8  9 10
 11 12 13 14 15 16 17
 18 19 20 21 22 23 24
 25 26 27 28

Sample input:_

1996 2
1999 7
2003 6
1952 5
2050 9
1883 4
2005 1

Sample output:

Feb 1996
              1  2  3
  4  5  6  7  8  9 10
 11 12 13 14 15 16 17
 18 19 20 21 22 23 24
 25 26 27 28 29

Jul 1999
              1  2  3
  4  5  6  7  8  9 10
 11 12 13 14 15 16 17
 18 19 20 21 22 23 24
 25 26 27 28 29 30 31

Jun 2003
  1  2  3  4  5  6  7
  8  9 10 11 12 13 14
 15 16 17 18 19 20 21
 22 23 24 25 26 27 28
 29 30

May 1952
              1  2  3
  4  5  6  7  8  9 10
 11 12 13 14 15 16 17
 18 19 20 21 22 23 24
 25 26 27 28 29 30 31

Sep 2050
              1  2  3
  4  5  6  7  8  9 10
 11 12 13 14 15 16 17
 18 19 20 21 22 23 24
 25 26 27 28 29 30

Apr 1883
  1  2  3  4  5  6  7
  8  9 10 11 12 13 14
 15 16 17 18 19 20 21
 22 23 24 25 26 27 28
 29 30

Jan 2005
                    1
  2  3  4  5  6  7  8
  9 10 11 12 13 14 15
 16 17 18 19 20 21 22
 23 24 25 26 27 28 29
 30 31

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1clock1400.12452012/11/12 11:32:520B / 74B / 60B

Perl _

RankUserSizeTimeDateStatistics
1teebee1310.14062012/11/17 07:35:091B / 50B / 73B
2yibe1580.09222012/11/18 04:14:160B / 74B / 69B
3Hem2000.06982012/11/13 23:07:120B / 88B / 105B
4macik3370.09872012/11/17 02:03:300B / ?B / ?B
5esc1204320.09722012/11/11 01:07:250B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1hallvabo1550.08212012/10/23 04:47:120B / 100B / 47B
2twobit1610.07192012/11/15 02:11:200B / 99B / 54B

JavaScript _

RankUserSizeTimeDateStatistics
10mg1730.04942012/11/13 15:21:290B / 90B / 75B

J _

RankUserSizeTimeDateStatistics
1I., S.810.11902012/10/21 19:48:010B / 45B / 31B
2I., S.800.11102013/08/15 14:16:540B / 45B / 30B

C _

RankUserSizeTimeDateStatistics
1smkt3960.03232012/10/26 13:04:3111B / 184B / 192B

Bash _

RankUserSizeTimeDateStatistics
1clock830.04612012/11/12 06:31:180B / 36B / 38B
2eban880.09212012/11/09 11:17:210B / 34B / 39B
3ninjalj950.06832012/11/02 23:28:490B / 38B / 47B

Zsh _

RankUserSizeTimeDateStatistics
1ninjalj950.09592012/11/02 23:28:580B / 38B / 47B

R _

RankUserSizeTimeDateStatistics
1pooq1850.56602012/11/10 09:53:150B / 110B / 69B

Language Ranking_

RankLangUserSizeScore
1JI., S.8010000
2Bashclock839638
3Zshninjalj958421
4Perlteebee1316106
5Rubyclock1405714
6Pythonhallvabo1555161
7JavaScript0mg1734624
8Rpooq1854324
9Csmkt3962020

return top