Rosetta Problems

Cross Point

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