See this accepted solution for 100 points: Link
Test case for which above mentioned 100 points accepted solution will fail: asked 19 May '17, 14:26

@rohit_0801 we agree about solutions of order O(2^N) must not pass larger subtask. In my opinion, it is not hard to create such kind of datasets for this problem; seems even logic to add those cases... this is one of those times when unfortunately problemsetter and tester has done not enough work. answered 19 May '17, 19:09
2
yes...that is what I am trying to say.Generally, the question at 6th number hardly crosses 1000 successful submissions.Might be many participants have used such kind of approach and got 100 points, which shouldn't have happened.
(19 May '17, 20:39)

@rohit_0801 , @lohit_97 : I have the impression that you guys are assuming that numbers in the sequence has to be necessarily different; that is not the case for this problem... so that solution of order O(2^n) should not pass, otherwise it is in fact not of order O(2^n) ... Regards answered 19 May '17, 15:33
1
Distinct or not..what I am trying to say that the above mentioned solution(100 points) should not have passed as it will fail for many testcases including the cases which have distinct n numbers or nondistinct numbers as mentioned by dushsingh1995
(19 May '17, 16:11)
Yes. My bad, Numbers need not be different.:/ Taking back my comment :)
(19 May '17, 17:45)
