here is my code, it is giving the correct output
My COde shows the correct answer but submission still fails
Hi vipul,
ur logic is absolutely correct… just one small mistake…
cout<<“Not Duplicates”<<endl;
over here in cout statement u have written Duplicate while Duplicates should come… so just one s is missing…
ur corrected code --> https://ide.codingblocks.com/s/622137
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.