BB">$max</span><span style="color: #007700">,</span><span style="color: #0000BB">$total</span><span style="color: #007700">)=</span><span style="color: #0000BB">$result</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">$delta</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">$min</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$min</span><span style="c