Hey guys !
So I was trying to hack a solution using this test case in Distinct routes.
Problem link .
3 5
1 2
1 2
1 2
2 3
2 3
The answer should be
2
3
1 2 3
3
1 2 3
But I got INVALID INPUT .
I think this input should be valid as per constraints .
[Discussion] This case should be valid in Distinct routes CSES
Hey guys !
So I was trying to hack a solution using this test case in Distinct routes.
Problem link .
3 5
1 2
1 2
1 2
2 3
2 3
The answer should be
2
3
1 2 3
3
1 2 3
But I got INVALID INPUT .
I think this input should be valid as per constraints .