Roads in Chefland (CROADS) - Video Solution

Click here for a video solution to Roads in Chefland (CROADS). Please like, comment, and subscribe if you find the video helpful! We will be publishing more videos soon :slight_smile:

https://pastebin.com/iGMaQRtD
Can someone tell what’s wrong in this code.
It’s showing wrong answer on submission