M plus D equals Y FIXED
Submit
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
Rank | User | Size | Time | Date | Statistics |
---|
1 | xnor | 68 | 0.0386 | 2024/06/28 15:50:36 | 0B / 39B / 26B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | xnor | 66 | 0.0469 | 2024/06/28 15:49:59 | 0B / 38B / 27B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | sean | 79 | 0.0207 | 2024/06/28 16:01:07 | 0B / 38B / 41B |
2 | KrausRaus | 120 | 0.0324 | 2024/06/28 13:36:32 | 0B / 52B / 68B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 49 | 0.2833 | 2024/07/03 11:47:05 | 0B / 24B / 24B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 77 | 0.0137 | 2024/06/28 16:37:27 | 1B / 37B / 38B |
2 | rotary-o | 77 | 0.0135 | 2024/07/02 23:59:33 | 1B / 39B / 36B |
3 | sean | 80 | 0.0137 | 2024/06/28 14:16:51 | 0B / 43B / 36B |
4 | tails (rotary-o) | 73 | 0.0140 | 2024/07/12 17:21:35 | 3B / 35B / 34B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 52 | 0.0062 | 2024/07/05 10:06:14 | 0B / 34B / 17B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | whio | 32 | 0.1224 | 2024/07/10 01:28:40 | 13B / 11B / 8B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 20 | 0.0190 | 2024/07/11 15:53:31 | 14B / 4B / 2B |
2 | whio | 21 | 0.0236 | 2024/07/04 12:04:26 | 16B / 3B / 2B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Nibbles | tails | 20 | 10000 |
2 | gs2 | whio | 32 | 6250 |
3 | Atlas | tails | 49 | 4081 |
4 | dc | tails | 52 | 3846 |
5 | Bash (builtins) | tails (rotary-o.c) | 54 | 3703 |
6 | Perl | tails (teebee) | 58 | 3448 |
7 | Ruby2 | rotary-o | 63 | 3174 |
8 | Ruby | rotary-o | 63 | 3174 |
9 | Python3 | xnor | 66 | 3030 |
10 | Python | xnor | 68 | 2941 |
11 | Scala | rotary-o | 70 | 2857 |
12 | C | tails (rotary-o) | 73 | 2739 |
13 | JavaScript | sean | 79 | 2531 |
14 | Bash | McBusLuck | 87 | 2298 |
15 | Java | rotary-o | 101 | 1980 |
16 | C# | rotary-o | 125 | 1600 |
return to the top page