这里是int类型,int/2是不会保留小数的
n你可以看看这个博客,更好的理解递归👉https://blog.csdn.net/muxuen/article/details/120973353
如果对你有帮助,还请点个采纳!