Rosetta Problems

一个简单的整数问题2

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