Editura Sfântul Ierarh Nicolae ISBN 978-606-577-027-0
Editura Sfântul Ierarh Nicolae ISBN 978-606-577-027-0
Editura Sfântul Ierarh Nicolae ISBN 978-606-577-027-0
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
}<br />
}<br />
void GenereazaPermutare(int i, int j)<br />
{<br />
int k=2;<br />
st[1]=1;<br />
st[2]=random(MaxGena-1);<br />
while(j&&(k>1))<br />
{<br />
if (k==MaxGena)<br />
{<br />
CopieSolutie(i);<br />
j--;k--;<br />
}<br />
else if (st[k]