Quick actions

cmd+k|ctrl+k

Navigation

Languages

split 85 into 5 pieces

Snippet info

Language

Raku

Visibility

public

Author

seaker

Created

2023-10-12T07:50:58.89587Z

Updated

2023-10-12T08:47:15.14884Z

# Split 85 into 5 numbers, each one ≥ 15, ≤ 20
.put for ([X] (15..20) xx 5).grep(*.sum == 85).grep({[≤] $_});
INFO