ashishranjan2828's blog

By ashishranjan2828, history, 8 years ago, In English

in array of n +ve integers print the triplets if triplet is formed with the help of distinct integer and also having distinct sum

e.g. input 5 2 4 6 8 9

output 12 14 15 16 17 18 19 21 23

N<=10000

  • Vote: I like it
  • -23
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
  Vote: I like it +14 Vote: I do not like it

You should not ask this question. It's from an ongoing College contest on hackerearth.

You even copied the same input sample case provided.

You are unethical as well as stupid. Shame on you!