Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USSR puzzle digital
#5
Numerals exactly all different are not required
and repetitions possible otherwise squares
were signed as in subject "rebus of letters"

though on greater number possible decision unique
or negative to use but I did not check

New program in source message for qbjs without goto
working slowly in 2 times

Here momentary algorithm with goto

Code: (Select All)
Dim s As Long: t = Timer
For a = 0 To 9: For b = 0 To 9: For c = 0 To 9
 For d = 0 To 9: For e = 0 To 9: For f = 0 To 9
  For g = 0 To 9: For h = 0 To 9: For i = 0 To 9
    s = s + 1
      If a * b - c <> 4 Then 7
      If d + e + f <> 8 Then 4
      If g / h + i <> 8 Then 1

      If a / d + g <> 9 Then 3
      If b + e + h <> 8 Then 2
      If c + f - i <> 6 Then 1

 Print a, b, c
 Print d, e, f
 Print g, h, i: Print: Print

 1 Next i
 2 Next h
 3 Next g
 4 Next f
 5 Next e
 6 Next d
 7 Next c
 8 Next b
9 Next a
Print s / 10 ^ 6; " mln", Timer - t
End
Write name of program in 1st line to copy & paste & save filename.bas
Insert program pictures: press print-screen-shot button
Open paint & Paste & Save as PNG
Add picture file to program topic

Russia looks world from future. Big data is peace data.
I never recommend anything & always write only about myself
Reply


Messages In This Thread
USSR puzzle digital - by DANILIN - 02-26-2026, 11:00 PM
RE: USSR puzzle digital - by DANILIN - 02-27-2026, 07:45 AM
RE: USSR puzzle digital - by bplus - 02-27-2026, 11:09 AM
RE: USSR puzzle digital - by bplus - 02-27-2026, 02:46 PM
RE: USSR puzzle digital - by DANILIN - 02-27-2026, 03:55 PM
RE: USSR puzzle digital - by SMcNeill - 02-27-2026, 04:18 PM
RE: USSR puzzle digital - by SMcNeill - 02-27-2026, 04:58 PM
RE: USSR puzzle digital - by DANILIN - 02-27-2026, 08:11 PM
RE: USSR puzzle digital - by bplus - 02-28-2026, 04:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  School themes from USSR and EurAsia DANILIN 26 7,396 04-01-2025, 07:21 PM
Last Post: bplus
  RoCoLoco Revisited - Math puzzle. Dav 4 1,165 11-03-2022, 09:48 PM
Last Post: DANILIN
  Digital Cube SierraKen 0 607 06-04-2022, 10:28 PM
Last Post: SierraKen
  Triquad puzzle game Rick3137 6 1,839 05-19-2022, 04:53 PM
Last Post: Dav
Rainbow Spiderbro - an adventure puzzle game! crumpets 0 603 05-07-2022, 08:39 AM
Last Post: crumpets

Forum Jump:


Users browsing this thread: 1 Guest(s)