Skip to content

ReformedDevs/challenge-2019-06

Repository files navigation

The Reformed Devs Monthly Challenge

June 2019

Background

The Reformed Devs on Slack began doing monthly code challenges a couple of months ago. We decided to begin hosting the challenges in the official TRD namespace for June 2019. You can see the previous challenges below:

The Challenge

Problem

Users will submit code to solve this problem, blatantly stolen from Project Euler. What is the sum of the digits of the result of 100!, where n! represents n x (n - 1) ... x 3 x 2 x 1.

Example: 5! = 5 x 4 x 3 x 2 x 1 = 120. The sum of the digits of 120 is 1 + 2 + 0, which is 3. Therefore the solution is 3.

Output

Use a .sh file to output your username, the results, and your solution's byte size. Ex: echo "specs, `python run.py`, `wc -c < run.py`"

Scoring

This will be a golf challenge, so users will be scored based on the length of their solution in bytes.

Leaderboard

User Language Solution Size
pard68 pyth 648 8
cco3 gp 26
sircharleswatson elixir 648 56
pard68 python 648 56
patrickcarver elixir 648 57
cco3 python 648 57
Ben Green python 648 58
Ben Green scala 59
Kyle Nweeia python 648 59
MatthewRDodds ruby 648 60
Kyle Nweeia/pard68 bash 648 62
specs python 648 64
Lee Behrens applesoft 648 130
plusuncold rust 648 147
Lee Behrens 6502 648 150
pard68 rust 648 163
therecluse26 golang 648 210