Only two case has passed .. and i m not able to find my mistake

in quadratic question

Please save your code on ide.codingblocks.com and share its link.