M plus D equals Y FIXED

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.

NB: You do not need to detect leap years to do this task.
NBB: I had to fix it because I finally realized how I messed up the first time.

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: 12
XX31: 11
XX32: 11
XX33: 10
XX34: 10
XX35: 8
XX36: 8
XX37: 6
XX38: 6
XX39: 5
XX40: 3
XX41: 3
XX42: 1
XX43: 1

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o630.01782024/07/03 00:05:130B / 36B / 26B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o630.05682024/07/03 00:05:020B / 36B / 26B

Perl _

RankUserSizeTimeDateStatistics
1tails (teebee)580.01482024/07/11 19:07:126B / 27B / 23B
2tails590.01572024/06/28 14:14:566B / 29B / 21B

Python _

RankUserSizeTimeDateStatistics
1xnor680.03862024/06/28 15:50:360B / 39B / 26B

Python3 _

RankUserSizeTimeDateStatistics
1xnor660.04692024/06/28 15:49:590B / 38B / 27B

JavaScript _

RankUserSizeTimeDateStatistics
1sean790.02072024/06/28 16:01:070B / 38B / 41B
2KrausRaus1200.03242024/06/28 13:36:320B / 52B / 68B

Atlas _

RankUserSizeTimeDateStatistics
1tails490.28332024/07/03 11:47:050B / 24B / 24B

C _

RankUserSizeTimeDateStatistics
1tails770.01372024/06/28 16:37:271B / 37B / 38B
2rotary-o770.01352024/07/02 23:59:331B / 39B / 36B
3sean800.01372024/06/28 14:16:510B / 43B / 36B
4tails (rotary-o)730.01402024/07/12 17:21:353B / 35B / 34B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1010.06752024/07/03 23:25:410B / 61B / 37B

C# _

RankUserSizeTimeDateStatistics
1rotary-o1250.04522024/07/03 23:26:000B / 79B / 41B

Bash _

RankUserSizeTimeDateStatistics
1McBusLuck870.03802024/07/11 16:38:160B / 37B / 43B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails580.01632024/07/02 16:05:040B / 30B / 25B
2McBusLuck870.02712024/07/12 02:29:390B / 37B / 43B
3tails (rotary-o.c)540.01862024/07/16 11:01:580B / 30B / 21B

dc _

RankUserSizeTimeDateStatistics
1tails520.00622024/07/05 10:06:140B / 34B / 17B

gs2 _

RankUserSizeTimeDateStatistics
1whio320.12242024/07/10 01:28:4013B / 11B / 8B

Nibbles _

RankUserSizeTimeDateStatistics
1tails200.01902024/07/11 15:53:3114B / 4B / 2B
2whio210.02362024/07/04 12:04:2616B / 3B / 2B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o702.22742024/07/02 23:33:211B / 43B / 21B

Language Ranking_

RankLangUserSizeScore
1Nibblestails2010000
2gs2whio326250
3Atlastails494081
4dctails523846
5Bash (builtins)tails (rotary-o.c)543703
6Perltails (teebee)583448
7Ruby2rotary-o633174
8Rubyrotary-o633174
9Python3xnor663030
10Pythonxnor682941
11Scalarotary-o702857
12Ctails (rotary-o)732739
13JavaScriptsean792531
14BashMcBusLuck872298
15Javarotary-o1011980
16C#rotary-o1251600

return to the top page