I am not able to understand the editorial of the same. Please Help!! Link to the problem : http://codeforces.me/problemset/problem/343/A
How do you solve the "rational resistance" — 343A/344C problem on Codeforces?
I am not able to understand the editorial of the same. Please Help!! Link to the problem : http://codeforces.me/problemset/problem/343/A