In one of the 3rd world countries two natives C. and K. encountered a visiting philanthropist who proposed the following offer:
What would you prefer to own: a
coconut plantation or a patented technology (a.k.a.
knowhow) to produce canned food from all such plantations in your country?
Assume that moneywise both offers are equal.
C. replied  coconut and K. choose the knowhow.
The philantropist then gave both of them two hours to solve the following alphametics :
i: WHATDO+YOUWANT=COCONUTS
ii: WHATDO+YOUWANT=KNOWHOW
You are hired by the natives to help one of them or both(your choice), your dollar fee being 1.6% of the higher summand, 11% of the lower or both,
(provided you submit correct solution(s)before the time expires).
Your time limit is 100 minutes  define your strategy (which alphametic to solve first, software or not etc.) and post both the solution and the amount of time spent,
....starting NOW
Watch out  red herring...
(In reply to
re(2): Crazy for coconuts extra hint by Steve Herman)
981240 5079132 6060372
can stand for
WHATDO+YOUWANT=COCONUT
s$ = "0123456789": hld$ = s
Do
DoEvents
w$ = Val(Mid(s, 1, 1))
h$ = Val(Mid(s, 2, 1))
a$ = Val(Mid(s, 3, 1))
t$ = Val(Mid(s, 4, 1))
d$ = Val(Mid(s, 5, 1))
o$ = Val(Mid(s, 6, 1))
y$ = Val(Mid(s, 7, 1))
u$ = Val(Mid(s, 8, 1))
n$ = Val(Mid(s, 9, 1))
c$ = Val(Mid(s, 10, 1))
whatdo = 100000 * w + 10000 * h + 1000 * a + 100 * t + 10 * d + o
youwant = 1000000 * y + 100000 * o + 10000 * u + 1000 * w + 100 * a + 10 * n + t
coconut = 1010000 * c + 101000 * o + 100 * n + 10 * u + t
If whatdo + youwant = coconut Then
Text1.Text = Text1.Text & whatdo & Str(youwant) & Str(coconut) & crlf
End If
permute s
Loop Until s = hld

Posted by Charlie
on 20161229 10:39:38 