Substitute each of the capital letters in bold by a different base ten digit from 0 to 9 to satisfy this alphametic equation. Neither P nor O can be zero.
PANE = [OUTSHOUT/ PIANO], where the remainder obtained upon dividing OUTSHOUT by PIANO is less than 500.
Note: [x] denotes the greatest integer ≤ x.
(In reply to
re(2): Missed Solution? by brianjn)
My program looks like yours, except I don't keep indenting. I make one loop for one variable, and then copy and paste it into the middle of what's already there, to make the nexting, then change the variable names down the line. Makes it faster that way. Then the jagged sawtooth is a guide to the nesting without having to bother with the strict farther and farther indentation.
|
Posted by Charlie
on 2009-08-13 11:14:53 |