147
правок
Изменения
→Реализация
<tex>maxFlow = \displaystyle \min_{edge \in path} C[edge] - flow[edge]</tex>
'''for''' <tex>edge</tex> '''in''' :
<tex>flow[edge] = flow[edge] + maxFlow </tex>
'''return''' <tex>flow</tex>