Sum and product puzzle: Difference between revisions

Content added Content deleted
m (→‎version 5, fast: changed some comments.)
m (→‎version 2: corrected a misspelling.)
Line 1,864: Line 1,864:
Elapsed time: 0.016000 seconds</pre>
Elapsed time: 0.016000 seconds</pre>
===version 2===
===version 2===
Uses objects for storing the number pairs. Note the computed hash value and the == mathod
Uses objects for storing the number pairs. Note the computed hash value and the == method
(required to make the set difference work)
(required to make the set difference work)
<lang oorexx>all =.set~new
<lang oorexx>all =.set~new