# Commits

committed 0815c94

Get rid of trailing space.

• Participants
• Parent commits 98b06fe
• Branches default

# File project-euler/67.pl

`-#!/usr/bin/perl `
`+#!/usr/bin/perl`
` `
` use strict;`
` use warnings;`
`     push @totals_lines,`
`         [`
`             map`
`-            { `
`+            {`
`                 \$this->[\$_] +`
`                 max(`
`                   ((\$_ > 0) ? (\$last->[\$_-1]) : ()),`

# File project-euler/75/75-analysis.txt

`  A | B | A^2 | B^2 | === | C^2 | C | A+B+C`
` ------------------------------------------`
`  0   0     0     0           0 | 0 | 0`
`- 1/3 0     1     0           1 | `
`+ 1/3 0     1     0           1 |`
`  1   1         0 |  0`
` -------------------------`
` `

# File project-euler/94/euler-94-almost-equilateral-triangles.pl

` `
` # For No. 1 we need a triangle for whose (\$n-1) * sqrt(\$n^2 - ((\$n-1)/2)^2) is`
` # integral.`
`-# `
`+#`
` # For No. 2 we need a triangle for whose (\$n+1) * sqrt(\$n^2 - ((\$n+1)/2)^2) is`
` # integral.`
`-# `
`+#`
` `
`-# For No. 1, for "n" we need s = (3n-1)/2 `
`+# For No. 1, for "n" we need s = (3n-1)/2`
` # area = sqrt{ (3n-1) / 2 * (n-1) / 2 * (n-1) / 2 * (n+1) / 2 }`
` #      = 1/4 * (n-1) * sqrt { (3n-1)(n+1) }`
` `
`-# Let's do m = n+1, then we get 1/4 * (m-2) * sqrt { (3m-4)m } `
`+# Let's do m = n+1, then we get 1/4 * (m-2) * sqrt { (3m-4)m }`
` `
` # For No. 2, for "n" we need s = (3n+1)/2`
` # area = sqrt{ (3n+1) /2 * (n+1) / 2 * (n+1) / 2 * (n-1) / 2 }`