THY
× CAR
────────
THY
GAZ
RRZC
────────
RTZTRY
On a 14067 60932 the 2841 (=k069) asked: "…Me, to pay for the fuel? What is this 51487 23069?"
Fellow floobers are requested to make sense of the above.
r = 1: used(1) = 1
CLS
FOR t = 2 TO 9
used(t) = 1
FOR c = 2 TO 9
IF used(c) = 0 THEN
used(c) = 1
FOR g = 2 TO 9
IF used(g) = 0 THEN
used(g) = 1
FOR h = 0 TO 9
IF used(h) = 0 THEN
used(h) = 1
FOR y = 0 TO 9
IF used(y) = 0 THEN
used(y) = 1
thy = 100 * t + 10 * h + y
FOR a = 0 TO 9
IF used(a) = 0 THEN
used(a) = 1
car = 100 * c + 10 * a + r
FOR z = 0 TO 9
IF used(z) = 0 THEN
used(z) = 1
gaz = 100 * g + 10 * a + z
rrzc = 1100 * r + 10 * z + c
rtztry = 100010 * r + 10100 * t + 1000 * z + y
IF thy * car = rtztry THEN
IF a * thy = gaz AND c * thy = rrzc THEN
PRINT " "; thy: PRINT " "; car: PRINT " "; thy: PRINT " "; gaz
PRINT " "; rrzc: PRINT " "; rtztry
FOR i = 0 TO 9
IF used(i) = 0 THEN PRINT i;
NEXT: PRINT
PRINT
END IF
END IF
used(z) = 0
END IF
NEXT
used(a) = 0
END IF
NEXT
used(y) = 0
END IF
NEXT
used(h) = 0
END IF
NEXT
used(g) = 0
END IF
NEXT
used(c) = 0
END IF
NEXT
used(t) = 0
NEXT
finds
237
541
------
237
948
1185
------
128217
leaving 0 and 6 unassigned, but in context should be I and N respectively. So
On a RAINY NIGHT the TZAR (kING) asked: "...Me, to pay for the fuel? What is this CRAZY THING?"
|
Posted by Charlie
on 2011-05-13 17:35:07 |