CodeForces#162 Div1-E

snuke
January 20, 2013

CodeForces#162 Div1-E

CodeForces#162 Div1-E の解説

snuke

January 20, 2013

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

15 slides
  1. ૝ఆղ 植えるクエリの時には x 方向の1次元segtree 切るクエリの時には y 方向の1次元segtree だけしか必要ない! O(log N)しかも定数項軽め!

    ※ただし、ノードの更新は両方のsegtreeに適応しないといけません。 ߴ͞(y) ৔ॴ (x) 1 1 1 2 2 3 4

More Decks by snuke

Other Decks in Programming