Rosetta Problems

The Nearest Value

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