4 / 4
Nov 2021

also, anyone can tell me if the output is correct for the following input

1
4
1 8 4 5
1 1 4 4
4 6 8 8
4 3 7 2

output

7
7
4
0

for admins only

anyone of you can tell me what is the output of the submit 935789

it was made specially to check some wrong part of my algorithm related with the amount of segments that are above of a single point,

my program halt when is encountered 100 right extremes of segments, what should be impossible due to the exercise statement, unless that really exist more than 100 extremes segment with the same x coordinate.

please tell me something about the output, of course, if it isn't violate any purpose of the SPOJ.

thanks in advance

14 years later

I’d also like to know the answer to this.
Because it’s really not clear from the problem statement.
I tried multiple interpretations though, and got WA every time.