Suppose we now have a very For large arrays, two operations must be performed repeatedly for the numbers in the array.
1, (query) randomly select an interval in this array, and find the sum o
Suppose we now have a very For large arrays, two operations must be performed repeatedly for the numbers in the array.
1, (query) randomly select an interval in this array, and find the sum o
HDU-5372
We consider the total line segment minus the illegal line segment, because it is added to the number axis according to the length from small to large, so the illegal line segment is