418
правок
Изменения
м
→Псевдокод
<font color="green">// Шаг 3</font>
'''for''' i = 0 .. n - 1
'''for''' j = i + 1 0 .. n - 1
'''if''' '''not''' marked[i][j] '''and''' isTerminal[i] '''and''' '''not''' isTerminal[j] '''and''' i != j
marked[i][j] = marked[j][i] = true