backup de julho
[h2N7SspZmY.git] / data / cache / 3 / 30a75902ce34f8cc255f8980291c0a16.code
blob123aba58d4239cabf18e21096bcebaaf01ca01fe
1 <span class="kw4">int</span> mdc<span class="br0">&#40;</span><span class="kw4">int</span> x<span class="sy0">,</span> <span class="kw4">int</span> y<span class="br0">&#41;</span>
2 <span class="br0">&#123;</span>
3         <span class="kw1">if</span><span class="br0">&#40;</span><span class="sy0">!</span>y<span class="br0">&#41;</span> <span class="kw1">return</span> x<span class="sy0">;</span>
4         mdc<span class="br0">&#40;</span>y<span class="sy0">,</span> x <span class="sy0">%</span> y<span class="br0">&#41;</span><span class="sy0">;</span>
5 <span class="br0">&#125;</span>