Line 13 should be $temp += pop @p if @p and $p[-1] == 3; otherwise you get a warning for inputs divisible by 2;
In reply to Re^2: Decomposing sum to unique sets of summands
by BrowserUk
in thread Decomposing sum to unique sets of summands
by blackmanao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |