Rosetta Problems

成交还是不成交计算器

https://www.acwing.com/problem/content/5665