Shlomi Fish avatar Shlomi Fish committed 0815c94

Get rid of trailing space.

Comments (0)

Files changed (3)

project-euler/67.pl

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

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
 -------------------------
 

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 }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.