Блог пользователя Saber.HMN

Автор Saber.HMN, история, 6 лет назад, По-английски

Given an array of size N.There can be multiple queries of the following types. 1 . Update(l, r, x) : Increment the a[i] (l <= i <= r) with value x. 2 . query(l, r): Find index of the maximum value in the array in a range l to r (both are included).

Полный текст и комментарии »

  • Проголосовать: нравится
  • -4
  • Проголосовать: не нравится