Rosetta Problems

ICPC: Intelligent Congruent Partition of Chocolate

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