1 / 3
Jun 2020

the code-

  • created

    Jun '20
  • last reply

    Jun '20
  • 2

    replies

  • 488

    views

  • 2

    users

  • 1

    like

  • 1

    link

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 :slight_smile:
I totally gave up on that problem before haha.