A connected simple graph with equally many vertices and edges has exactly one cycle. At a leaf, the only remaining incident toll equals its remaining bill. This value is forced and must be positive.
Remove that leaf, subtract its toll from its neighbor's bill, and track the largest forced toll M. Repeat using a queue of leaves. This is constraint elimination; no search order or graph BFS is needed. Only the cycle remains.