No Change In Flow
CodeChefOpen on judge ↗
You are given a flow graph G. The flow graph G has N vertices numbered from 1 to N. 1 is Source and N is Sink. There is no incoming edge into Source and no outgoing edge from Sink. There is either edge (u,v) or (v,u) in G. You are also given the capacity of each edges. Assume all capacities are positive integers. You calculated the maximum flow value in G. Now capacity of exactly one edge is inc
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start