---
# System prepended metadata

title: G - Minimum Reachable City
tags: [CP]

---

https://atcoder.jp/contests/abc295/tasks/abc295_g

https://atcoder.jp/contests/abc295/submissions/43556744

(´・ω・｀)
![](https://hackmd.io/_uploads/Bym-psAKh.jpg)
