Minimum numbers of three lists: Difference between revisions
add RPL
Drkameleon (talk | contribs) (added Arturo) |
(add RPL) |
||
Line 671:
The minimum numbers of three lists = [5,22,12,21,38]
done...
</pre>
=={{header|RPL}}==
≪ → l1 l2 l3
≪ {} 1 l1 SIZE l2 SIZE l3 SIZE MIN MIN '''FOR''' j
l1 j GET l2 j GET l3 j GET MIN MIN + '''NEXT'''
≫ ≫ ‘'''L3MIN'''’ STO
{5 45 23 21 67} {43 22 78 46 38} {9 98 12 98 53} '''L3MIN'''
{{out}}
<pre>
1: { 5 22 12 21 38 }
</pre>
|