pushing
This commit is contained in:
parent
74abf1ddeb
commit
b7a063ddb4
3 changed files with 1057 additions and 189 deletions
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pearls"
|
name = "amulets"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ amulets = poems
|
||||||
.filter { |(_, hash)| max_8s(hash) >= MIN_8S }
|
.filter { |(_, hash)| max_8s(hash) >= MIN_8S }
|
||||||
.sort_by { |(_, hash)| max_8s hash }
|
.sort_by { |(_, hash)| max_8s hash }
|
||||||
|
|
||||||
puts "#{amulets.length}/#{poems.length} poems were amulets"
|
puts "#{amulets.length}/#{poems.length} qualified"
|
||||||
puts
|
puts
|
||||||
|
|
||||||
amulets.each do |(amulet, hash)|
|
amulets.each do |(amulet, hash)|
|
||||||
|
|
Loading…
Reference in a new issue