Run Error in Target Sum Pair Triplets

My solution has been accepted but 4 of my test cases are getting a “run error”. Please guide me, why am I getting this error.

Link to the Problem: https://hack.codingblocks.com/app/contests/1945/195/problem
Link to my Solution:
https://ide.codingblocks.com/s/367426

Hey @arunimakhanna11

Length of Array should be between 1 and 1000.

So increase ur array size to 1000

if this resolves your query then please mark it as resolved :slight_smile: .

Yes! The error got resolved. Thanks a lot :grinning:

1 Like