Rosetta Problems

Balloon Collecting

https://onlinejudge.u-aizu.ac.jp/problems/1306