You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vincent Oliveira edited this page Sep 6, 2016
·
2 revisions
Write a program that outputs all possibilities to put + or - or nothing between the numbers 1, 2, ..., 9 (in this order) such that the result is always 100.
For example: 1 + 2 + 34 – 5 + 67 – 8 + 9 = 100.
Formatted as "1+2+34-5+67-8+9".