Help with a Partial Sum problem + ask for similar problems .

Правка en2, от EbraM96, 2017-02-26 19:43:48

I've been reading this great blog and tried to solve B. Troynacci Query but I couldn't :( . I already tried reading its editorial but it contained the equations directly for coding ! I couldn't understand how the equations were derived , and please :

A- I need help to solve the above problem .

B- Can I do all operations and apply modulo at the end when printing only , like :

print : OUTPUT%mod ?

C- I need problems like this to solve .

Теги partial sum, tree, queries

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский EbraM96 2017-02-26 19:43:48 3 language mistake
en1 Английский EbraM96 2017-02-26 19:41:08 601 Initial revision (published)