Foregone Solution

原题地址: https://codingcompetitions.withgoogle.com/codejam/round/0000000000051705/0000000000088231

看到4就拆分成2+2, 看别的就0+x, 注意leading zero.