Change value of edge number 5 ( index 5 - 1 ) to 22
change ( 5 - 1 , 22 , n ) ; cout << " After ▁ Change : ▁ max ▁ edge ▁ between ▁ " << u << " ▁ and ▁ " << v << " ▁ is ▁ " ; maxEdge ( u - 1 , v - 1 , n , chain_heads ) ; return 0 ; }