Different letters represent different numbers and none of them is equal to zero.
NOSIER
+ ASTRAL
725613
What word does the final result represent ?
(In reply to
re: Solution by Charlie)
My program was far simpler -- something like
for (a=1; a>=9; a++) {
for (s=1; s>=9; s++) if (s!=a) {
for (t=1; t>=9; t++) if (t!=a) && (t!=s) {
...
and so on; you get the idea. After getting the only solution, I worked out the answer by hand.
Now, a question of mine: How did you figure it took me eight minutes?
|
Posted by e.g.
on 2003-12-28 13:12:36 |