]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/project-euler/215/215.factor
project-euler: Rewrap, update links, add copyrights, tests
[factor.git] / extra / project-euler / 215 / 215.factor
index 098d53ebaee98b9c3bf80816abddd221805def75..e6c21fadb173f3643b233bf0f1addd572965a647 100644 (file)
@@ -3,22 +3,24 @@
 USING: accessors kernel math project-euler.common ;
 IN: project-euler.215
 
-! https://projecteuler.net/index.php?section=problems&id=215
+! https://projecteuler.net/problem=215
 
 ! DESCRIPTION
 ! -----------
 
-! Consider the problem of building a wall out of 2x1 and 3x1 bricks
-! (horizontal x vertical dimensions) such that, for extra strength, the gaps
-! between horizontally-adjacent bricks never line up in consecutive layers,
-! i.e. never form a "running crack".
+! Consider the problem of building a wall out of 2x1 and 3x1
+! bricks (horizontal x vertical dimensions) such that, for extra
+! strength, the gaps between horizontally-adjacent bricks never
+! line up in consecutive layers, i.e. never form a "running
+! crack".
 
-! For example, the following 93 wall is not acceptable due to the running crack
-! shown in red:
+! For example, the following 93 wall is not acceptable due to
+! the running crack shown in red:
 
 !     See problem site for image...
 
-! There are eight ways of forming a crack-free 9x3 wall, written W(9,3) = 8.
+! There are eight ways of forming a crack-free 9x3 wall, written
+! W(9,3) = 8.
 
 ! Calculate W(32,10).