Needed help for query based question

Правка en1, от achhadahappy, 2023-06-07 16:30:50

You will be given an array and some queries. Each query will contain three integers l, r, and x. You have to return the count of the integer in array in the range [l,r] whose value is less than or equal to x. for example n=7 q=2 5 4 8 7 6 2 1 1 3 5 2 5 6

ans = 2 2

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский achhadahappy 2023-06-07 16:30:50 311 Initial revision (published)