### 11333 - Alphametics

Posted:

**Sun Nov 04, 2007 8:37 am**I don't know why I keep getting TLE for this problem.

My method is to rearrange the equation so that there are no minus signs.

In the backtracking, I keep a upper and lower bound on the left and right sides, and I only continue if there can be a solution within the bounds.

My method is to rearrange the equation so that there are no minus signs.

In the backtracking, I keep a upper and lower bound on the left and right sides, and I only continue if there can be a solution within the bounds.