418
правок
Изменения
м
→Псевдокод
'''for''' i = 0 .. n - 1
'''for''' j = 0 .. n - 1
'''if''' '''not''' marked[i][j] '''and''' isTerminal[i] '''and''' '''not''' != isTerminal[j]
marked[i][j] = marked[j][i] = ''true''
Q.push(<tex>\langle i, j \rangle</tex>)