Rosetta Problems

The Devil of Gravity

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