Hacker News new | ask | show | jobs
by maliker 2178 days ago
I took a shot at this, didn't have much luck though:

PROMPT ======= Input: 21 + 110 Output: 100 + 20 + 10 + 1 = 100 + 30 + 1 = 130 + 1 = 131

Input: 89+78 Output: 80 + 70 + 9 + 8 = 150 + 9 + 8 = 150 + 17 = 150 + 10 + 7 = 160 + 7 = 167

OUTPUT ====== Input: 37 + 112 Output: 30 + 100 + 10 + 2 = 110 + 1 = 111

Input: 91+11 Output: 100 + 90 + 1 = 190 + 1 = 191