Restructuring

This commit is contained in:
2024-07-01 13:49:44 +00:00
parent f11b705ef0
commit 8d60e1b905
194 changed files with 1296 additions and 112 deletions

View File

@ -0,0 +1,20 @@
title: What is the greatest product of four adjacent numbers on the same straight line in the 20 by 20 grid?
url: http://projecteuler.net/problem=11
desc: |
In the 2020 grid below, four numbers along a diagonal line have been marked in red.
What is the greatest product of four adjacent numbers in any direction (up, down, left, right, or diagonally) in the 2020 grid?
(See file input)
solution: |
Bruteforce (Unless someone found a smarter way)
solutions:
solve.php:
desc: Expects the matrix as stdin
language: php
parameters: < ProjectEuler\011\input
solve.rb:
desc: Expects the matrix as stdin
language: ruby
parameters: < ProjectEuler\011\input