| 
 | 
back to boardRe: Wa 4 "It is guaranteed that there exists at least one a_i < 0" So your test is incorrect Re: Wa 4 You're right. When solving this problem, I made the mistake of not selecting a segment at all and this test helped to find bug. I hope this helps someone.   Edited by author 28.01.2025 21:20  |  
  | 
|