---
# System prepended metadata

title: G - Balance Update Query
tags: [CP]

---

問題
https://atcoder.jp/contests/abc287/tasks/abc287_g
提出
https://atcoder.jp/contests/abc287/submissions/43512836

面白いねぇ

![](https://hackmd.io/_uploads/BJrzQ43Yn.jpg)
