Temporarily, Codeforces is operating in a limited mode due to technical reasons (historical data is unavailable). This will be fixed in the next few hours. ×

yashgulani's blog

By yashgulani, history, 8 years ago, In English

Can anyone please explain how we are able to answer this problem by checking just 1 cycle and how are we are keeping track of that common edge . Thanks !!

  • Vote: I like it
  • -6
  • Vote: I do not like it