MatthewRDodds / challenge-2019-06

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
patrickcarver elixir 648 57
MatthewRDodds ruby 648 60
specs python 648 64
plusuncold rust 648 148
therecluse26 golang 648 210

About

License:MIT License


Languages

Language:Python 41.5%Language:Shell 39.8%Language:Dockerfile 6.3%Language:Go 5.5%Language:Rust 3.9%Language:Ruby 1.6%Language:Elixir 1.5%