pan><span class="ss">(</span><span class="nv">irngt</span><span class="ss">(</span>:<span class="nv">nuni</span><span class="ss">))</span>
<span class="k">end</span> <span class="nv">subroutine</span>
<span class="k">end</span> <span class="nv">program</span> <span class="nv">demo_rank_unique</span>
</code></pre></div>

<p>Results:</p>
<div class="codehilite"><pre><span></span><code><span class="n">ORIGINAL</span><span class="o">:</span><span class="w"> </span><span class="mi">10</span><span class="w"> </sp