Valera love segment he recently come interesting problemThe Ox axis coordinate n segment ith segment start position li end position ri mark liri your task process m query consist number cnti set cnti coordinate point locate Ox axis the answer query number segment contain point query Segment lr contain point q lqrValera find solution problem difficult so ask help help Valera