src/cplib/collections/fenwick2d

  Source   Edit

Procs

proc add(self: Fenwick2D; p, y, delta: int) {....raises: [], tags: [].}
  Source   Edit
proc get(self: Fenwick2D; l, r, yLower, yUpper: int): int {....raises: [], tags: [].}
長方形領域 x in [l,r), y in [yLower,yUpper) の和を返します。   Source   Edit
proc getLess(self: Fenwick2D; l, r, yUpper: int): int {....raises: [], tags: [].}
  Source   Edit
proc initFenwick2D(posVals: seq[seq[int]]): Fenwick2D {....raises: [], tags: [].}
  Source   Edit
proc prefix(self: Fenwick2D; r, yUpper: int): int {....raises: [], tags: [].}
  Source   Edit