实现代码 对于题目的理解就是n+n(开方)+n(开方再开方)+…一共加了m次 其中只有一点需要注意就是需要加上n本身 #include<stdio.h> #include<math.h> int main() { int m;