Getting wrong answer

Sample input runs fine and I tried it with many examples that I can think of and the code runs fine but on submitting it gives me wrong answer

Hi Dhruv,
Can you please share with me your code as well?

Hey @Dhruv_Kapoor,
You need to print “Not Duplicates” not “Not Duplicate”. Your logic seems to be correct.

I corrected that but still I am getting wrong answer

Hey @Dhruv_Kapoor,

https://ide.codingblocks.com/s/143159 I have corrected the code and commented the errors in your code.

Thanks, I got my mistake.