Maximum circle (Greedy) code is not working for two test cases

Please find mistake in my code
Coding Blocks IDE