← Home
wrong answer on test 11
input:
 4 2
1 2
1 3

expected:
 -1

got:
 3
1 2 3 4