← Home
wrong answer on test 5
input:
4 7
4 3 7
2 1 11
2 2 15
3 2 0
1 4 0
3 2 0
4 1 12
expected:
Impossible

got:
1