All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General > Word Problems
A Royal Question (Posted on 2011-05-13) Difficulty: 2 of 5
    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.

See The Solution Submitted by Ady TZIDON    
Rating: 4.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 1 of 2

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
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information