Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thearn/8899578 to your computer and use it in GitHub Desktop.
Save thearn/8899578 to your computer and use it in GitHub Desktop.

The Project Euler Sprint Hack Nights

Project Euler Sprint Hack Nights are beginner friendly events where you can work on your own projects or engage in a friendly competition called the Project Euler Sprint.

The Project Euler Sprint is a friendly competition involving solving Project Euler (http://projecteuler.net) problems for points. Project Euler is a series of increasingly difficult computational math problems that must be solved with code (generally speaking - we've had some impressive solutions in pen and paper as well as on an Excel spreadsheet).

Each problem is harder than the last, so each problem is worth its problem number in points. Problem #1 is easy, so it's worth 1 point, while problem #50 is much harder, but worth 50 points. You can form teams of 4 people and solutions can be in any language as long as it's coded there. More detailed rules below.

Sprint Rules

The Project Euler Sprint is a competition in which teams complete computational math problems from Project Euler. Starting with problem #1, each successive problem is harder than the last. Consequently, each problem has a point value equal to its problem number. Points are tallied up at the end of the event and the team with the most points wins.

  1. Problems come from Project Euler
  2. Solutions are worth their problem number in points.
  3. Solutions must be coded at the event. Mathematics libraries with methods for prime, factorial, fibonacci numbers, or other methods that make solving a particular problem trivial are not allowed. Those methods must be implemented by the team during the hack night.
  4. Solutions may be in any language.
  5. Problems may be done in any order.
  6. You may practice ahead of time.
  7. Once a solution has been reached and verified on projecteuler.net, it must be checked in* with an event organizer to count toward a team's point total.
  8. Teams may consist of up to four people.
  9. Participants are given 30 minutes at the beginning to meet, eat if any food has been provided, and form teams. They are then given 90 minutes to solve as many problems as they can.

* Check ins involve showing the code, running it to produce a solution, and showing that the solution is correct on the Project Euler site. This means there needs to be at least one person per team who has a Project Euler account (sign up here).

Core Values

  1. Inclusiveness
  2. Fun
  3. Community

More to come soon!

Credits

The Project Euler Sprint was inspired by and takes its name from Project Euler:

Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve.

The Project Euler Sprint is merely rules for a game played with problems on the Project Euler site.

Check out more at https://projecteuler.net/!

License

Creative Commons License
The Project Euler Sprint by Brian Kung is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://gist.github.com/briankung/8724819.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment