Garfield_'s blog

By Garfield_, history, 8 years ago, In English

How to solve http://codeforces.me/contest/242/problem/E problem with square root decompositatio?

  • Vote: I like it
  • -19
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

This is not a problem of square root decomposition. It can be solved by segment tree with lazy propogation