TTUPLE Testcase

Hi, I’ve got a doubt about a test case.
Problem: TTUPLE
Contest: June Challenge 20

1000 2000 3000
1 2 3

What’s the answer to this test case? 2 or 3? If 2 how?

I think it would be 2.
1st step: adding ( -1998 ) to second and third number.
2nd step: adding ( -999 ) to first and third number.

1 Like