Блог пользователя naruto_returns

Автор naruto_returns, история, 4 года назад, По-английски

Question :- Range Updates and Sums on cses Link The 2nd test case is failing for 45 queries rest (65k queries) are correct. I am not able to find the logical mistake in lazy updates part. Please can you help to solve this

Update:- The Problem was in update part of lazy rest of the code is right.

Non-Working Code
Updated and working code

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

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