8000 GitHub - tillmanjr/project-euler: My organization of project euler solutions - going to work through them in Javascript this time instead of C# and C++
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

My organization of project euler solutions - going to work through them in Javascript this time instead of C# and C++

Notifications You must be signed in to change notification settings

tillmanjr/project-euler

Repository files navigation

project-euler

My organization of project euler solutions - going to work through them in Javascript this time instead of C# and C++

To use:

  1. Copy an existing problem-NNNN folder adjusting the name to reflect the problem number
  2. cd to your new problem folder:
  3. Open problem.js
  4. Edit the Inputs as appropriate
/* ========================================== */
/* Inputs                                     */

const problemNumber = 1

const problemTitle = 'Placeholder for Problem Title'

const problemDefinition = `This is a placeholder
for any given problem's definition`

const expectedSolution = 42

/* ========================================== */
  1. Save
  2. Open the solution.js file
  3. Immplement your solution
  4. Update solveAsynce's Promise resolve to return the result of your solution
  5. Save
  6. Run the problem.js file
============================================================
                        Project Euler 
Problem0001
     Placeholder for Problem Title
 
Description
     This is a placeholder
     for any given problem's definition
 
------------------------------------------------------------
Solution: 42        solved in 0 ms
============================================================
Passed

[Done] exited with code=0 in 0.127 seconds

About

My organization of project euler solutions - going to work through them in Javascript this time instead of C# and C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0