222
правки
Изменения
м
→Псевдокод
'''if''' intersection <tex>vw</tex> and status.closest not exists
answer.add(<tex>w</tex>)
'''for''' Segment <tex>s </tex> ending in <tex>w</tex>
status.delete(s)
'''for''' Segment <tex>s </tex> beginning in <tex>w</tex>
status.add(s)
'''return''' answer