Quick actions

cmd+k|ctrl+k

Navigation

Languages

Number Puzzle

Snippet info

Language

Raku

Visibility

public

Author

seaker

Created

2020-12-29T07:06:18Z

Updated

2021-05-05T04:09:27.348141Z

put (1..9).permutations.grep({ .[0]+.[1]+.[2]==.[0]+.[4]==.[0]+.[6]+.[7]==.[1]+.[5]+.[8]==.[3]+.[4]+.[5]==.[3]+.[6]+.[8]==.[7]+.[8] }).first
INFO