275
правок
Изменения
→Реализация
<tex>id = sz</tex>
<tex>sz = sz + 1</tex>
<tex>\mathtt{t}[id] = \mathtt{node}(v.l, </tex> <tex>v.l + st.pos,</tex> <tex>v.par)</tex>
<tex>\mathtt{t}[v.par].\mathtt{get}(\mathtt{s}[v.l]) = id</tex>
<tex>\mathtt{t}[id].\mathtt{get}(\mathtt{s}[v.l + st.pos]) = st.v</tex>