8個數字相加等於100,請把方法總數與數列列出來。(可重複)

Run Settings
LanguageRaku
Language Version
Run Command
my Int constant @range = (loop {0..100}); my Int constant @filter = ( [X] @range[^8] ).lazy.grep({ ([+] $_.flat) == 100 }); @filter[^100].say;
Editor Settings
Theme
Key bindings
Full width
Lines