这里给大家介绍一下 Python 的解法。其实直接用 print 输出即可。由于 print 读入的是一个字符串,所以我们可以先读入再取模 100001000010000,这样就能算出结果了。 代码: Python复制print(input()%10000)