Courier Convoys — Solution & Editorial
By Menger's theorem this is a max flow with every edge capacity 1.
Complexity: O(E√E) with Dinic on unit capacities
By Menger's theorem this is a max flow with every edge capacity 1.
Complexity: O(E√E) with Dinic on unit capacities