M plus D equals Y

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

In the first half of any century, there are so many days in a given year where the number of the month and the number of the day can be summed to equal the last two digits of the year.

Recreate the list below of how many days in each year where this sum occurs.

BN: You do not need to detect leap years to do this task. Including code for that will just make your answer worse.

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

*NOTHING*

Sample output:

XX02: 1
XX03: 2
XX04: 3
XX05: 4
XX06: 5
XX07: 6
XX08: 7
XX09: 8
XX10: 9
XX11: 10
XX12: 11
XX13: 12
XX14: 12
XX15: 12
XX16: 12
XX17: 12
XX18: 12
XX19: 12
XX20: 12
XX21: 12
XX22: 12
XX23: 12
XX24: 12
XX25: 12
XX26: 12
XX27: 12
XX28: 12
XX29: 12
XX30: 11
XX31: 11
XX32: 10
XX33: 10
XX34: 8
XX35: 8
XX36: 6
XX37: 6
XX38: 5
XX39: 3
XX40: 3
XX41: 1
XX42: 1

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o630.03542024/07/03 00:04:460B / 37B / 25B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o630.11692024/07/03 00:04:330B / 37B / 25B

Perl _

RankUserSizeTimeDateStatistics
1tails590.01492024/06/28 10:50:285B / 30B / 21B
2teebee630.01512024/06/28 10:04:1716B / 24B / 20B
3fuzzylojik720.01482024/06/27 19:52:500B / 39B / 30B
4tails (teebee)580.01512024/07/11 19:05:335B / 28B / 23B

Python _

RankUserSizeTimeDateStatistics
1xnor680.03062024/06/28 08:17:100B / 40B / 26B
2fuzzylojik800.03182024/06/27 20:10:5021B / 30B / 25B

Python3 _

RankUserSizeTimeDateStatistics
1xnor660.04652024/06/28 08:22:420B / 38B / 27B
2fuzzylojik810.04992024/06/27 20:06:2721B / 30B / 25B

JavaScript _

RankUserSizeTimeDateStatistics
1sean780.02112024/06/28 11:18:420B / 39B / 39B
2KrausRaus1220.02392024/06/27 18:59:030B / 56B / 66B

C _

RankUserSizeTimeDateStatistics
1rotary-o770.01412024/07/02 23:59:191B / 40B / 35B
2sean780.01382024/06/28 10:26:570B / 43B / 34B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1010.22342024/07/03 23:25:040B / 61B / 37B

C# _

RankUserSizeTimeDateStatistics
1rotary-o1250.05372024/07/03 23:25:250B / 79B / 41B

AWK _

RankUserSizeTimeDateStatistics
1sean750.01402024/06/28 11:48:580B / 45B / 29B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1McBusLuck890.01642024/06/28 15:02:230B / 40B / 44B

gs2 _

RankUserSizeTimeDateStatistics
1whio320.06942024/07/10 01:30:4113B / 11B / 8B

Nibbles _

RankUserSizeTimeDateStatistics
1whio210.03482024/07/05 22:39:4916B / 3B / 2B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o704.23432024/07/02 23:33:041B / 43B / 21B

Language Ranking_

RankLangUserSizeScore
1Nibbleswhio2110000
2gs2whio326562
3Perltails (teebee)583620
4Ruby2rotary-o633333
5Rubyrotary-o633333
6Python3xnor663181
7Pythonxnor683088
8Scalarotary-o703000
9AWKsean752800
10Crotary-o772727
11JavaScriptsean782692
12Bash (builtins)McBusLuck892359
13Javarotary-o1012079
14C#rotary-o1251680

return to the top page