Test case 2 wrong! False claim!

It is showing Test case 2 is wrong . I’ve checked all the test cases , desired output is obtained. Verify my code . Please look into this as it affects my score.
linkl to my code - https://ide.codingblocks.com/s/212919

Check the spelling of Distinct in line 28