TRIP2 - Editorial

Please format it or link to a solution - the forum software has manged it and it won’t compile :slight_smile:

Edit:

It’s now failing for the testcase:

1
5 2
2 -1 -1 -1 -1