not getting what’s wrong in my code
ide: https://ide.codingblocks.com/s/218346
Vivek and party
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
i have taken directed edges
Hey @Vishal123
Your code is correct
There are multiple answers for this question
Your is also correct
But to get 100 you need to output according to CB Solution
You can just open this question in another contest and hardcode the answer to get marks since your approach is correct
Kindly close this doubt