Provide strict test cases


#1

My code was failing for very large array size - (N = 500, S = 1233). But it got accepted. I think test cases should be more and strict.