fork download
#!/bin/bash
# your code goes here

set -- 4

a=$[10**($1-1)]
eval echo \$[${a//0/{+,']\ $[}1'}],
Success #stdin #stdout 0s 5088KB
stdin
Standard input is empty
stdout
4, 3 1, 2 2, 2 1 1, 1 3, 1 2 1, 1 1 2, 1 1 1 1,