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

Home > Just Math
Trying to get better (Posted on 2019-07-11) Difficulty: 3 of 5
I + AM + VERY = SICK

Solve the above - distinct letters are replaced by distinct digits, all digits are used.
Find the lowest and the highest values of SICK .

See The Solution Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts hmmmm... | Comment 1 of 4
Private Sub Form_Load()
  crlf = Chr(13) + Chr(10)
  Form1.Visible = True
  mn = 999999
  
  s$ = "0123456789": h$ = s
  Do
    i = Mid(s, 8, 1)
    am = Mid(s, 1, 2)
    very = Mid(s, 3, 4)
    sick = Mid(s, 7, 4)
    If i + am + very = sick Then
      Text1.Text = Text1.Text & i & Str(am) & Str(very) & Str(sick) & crlf
      If sick >= mx Then mx = sick
      If sick <= mn Then mn = sick
    End If
    permute s
    DoEvents
  Loop Until s = h
  Text1.Text = Text1.Text & crlf & mn & Str(mx)
End Sub

doesn't find any solutions

  Posted by Charlie on 2019-07-11 13:41:46
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


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

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