the code-
When I give it this
3 10 1 4 7 4 5 8 4 1 2 6 1 5 10 1 4 7 4 5 8 4 1 2 6
It gives:
1474584162 -1 101744
The first and third test cases are the same, yet the given answers are different.
Dude you literally caught such a minute bug… like a perfectionist. I have now inserted a suppression character…Thank you I totally gave up on that problem before haha.