#!/bin/bash# your code goes here set -- 4 a=$[10**($1-1)]eval echo \$[${a//0/{+,']\ $[}1'}],
Standard input is empty
4, 3 1, 2 2, 2 1 1, 1 3, 1 2 1, 1 1 2, 1 1 1 1,
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!