SEND + MORE = MONEY: Difference between revisions

(Created page with "=={{header|Ring}}== This is a classic puzzle. </br> [https://mindyourdecisions.com/blog/2018/09/06/send-more-money-a-great-puzzle/ SEND + MORE = MONEY: A Great Puzzle] <syntaxhighlight lang="ring"> t1 = clock() // start see "works..." + nl + nl aListSend = [] aListMore = [] for s = 0 to 9 for e1 = 0 to 9 for n = 0 to 9 for d = 0 to 9 bool = s!=e1 and s!=n and s!=d and e1!=n and e1!=d and n!=d if bool...")
 
Line 68:
see "done..." + nl
</syntaxhighlight>
{{out}}
Output:
<pre>
</br>
works...
Line 78 ⟶ 79:
Time: 31.9 s
</br>
</pre>
2,468

edits