Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -0,0 +1,2 @@
|
|||
##
|
||||
(1..20).CartesianPower(3).Where(\(x,y,z) -> (x*x + y*y = z*z) and (x < y)).PrintLines
|
||||
3
Task/List-comprehensions/Uiua/list-comprehensions.uiua
Normal file
3
Task/List-comprehensions/Uiua/list-comprehensions.uiua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
☇1⊞≡⊂⊞⊂..+1⇡20 # Cartesian product, flattened.
|
||||
▽⊸≡(=1/↧/≥◫2) # Keep triplets which are in ascending order.
|
||||
▽⊸≡(=⊃(/+⊏0_1|⊡2)×.) # Keep pythagorean triplets.
|
||||
Loading…
Add table
Add a link
Reference in a new issue