sovet Lights
One of the streets in your city has a total of Li street lights, Each light i covers the street from
Xitoy distance. Find the length of street covered with light.
Input Specification:
input1: L. denoting the number of street lights.
input2: An array of L2 elements. For each row i, (Xi, Yi) denote that the
Street light I covers the distance from Xi to Yi.
Output Specification:
Your function should return the length of the street covered with light.
Example 1:
input1: 1,
input2: {{5,10}}
Output: 5
Answers
Answered by
0
Answer:
hhgbhmhygvhkhyjbgyjh hhfjku
Similar questions