<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="RP (complexity) - Page 2 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=RP_(complexity)&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=RP_%28complexity%29&amp;p=3">3.Next</a>
</p>
<p>then it returns YES with probability at least 1/2 (otherwise, it returns NO).</p>

<p>In other words, the <a href="page.php?w=algorithm">algorithm</a> is allowed to flip a truly random coin while it is running.  The only case in which the algorithm can return YES is if the actual answer is YES; therefore if the algorithm terminates and produces YES, then the correct answer is definitely YES; however, the algorithm can terminate with NO regardless of the actual answer. That is, if the algorithm returns NO, it might be wrong.  </p>

<p>Some authors</p><p>
<a accesskey="1" href="page.php?w=RP_(complexity)&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=RP_%28complexity%29&amp;p=3">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
