One-dimensional

Imagine there are several lines in an one dimensional space. You are given the starting and ending p…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

Can I get the second Test Case of this problem please?

I got Runtime Error and couldn’t figuire out why.
https://toph.co/s/1132729

1 Like

Input of the second test case:

10 10
117 144
73 849
-907 673
-202 51
83 809
161 -557
-349 484
70 593
-826 137
-163 906
-14 81
-359 988
-530 812
374 -241
615 -524
635 133
-760 913
-80 854
851 -464
964 -872
1 Like