Can Someone tell me , what's wrong with my code.

Revision en2, by manikiran949, 2023-04-03 07:33:31

https://codeforces.me/contest/1805/submission/200457291 I have been trying to find where it fails , but i could not figure it out. My approach: i have considered 5 extreme cases: k=slope. 1) maximum postive slope. 2) minimum positive slope. 3) Maximum negative slope. 4) minimum negative slope. 5) zero slope. If a line exists such that it does not intersect or touch a parabola ,then an equation with one of the above slope satisfy the given property. Then , Kx=ax^2+bx+c. Roots must be imaginary of the above equation. Hence discriminant must be less than zero.

Please let me know anything is wrong here.

Thank You !

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English manikiran949 2023-04-03 07:33:31 494
en1 English manikiran949 2023-04-03 07:16:32 193 Initial revision (published)