Rosetta Problems

Bedao Grand Contest 14 - Expected Manhattan Distance

https://oj.vnoi.info/problem/bedao_g14_e