← Home
wrong answer on test 6
input:
 5 9
4 5
2 3
2 4
3 5
2 5
3 4
1 3
1 4
1 2

expected:
 2
1 2 5

got:
 2
1 3 5