摘要: // 1234 = 1^4 + 2^4 + 3^4 + 4^4; // 341 = 3^3 + 4^3 + 1^3 // 类似于水仙花数 #include <stdio.h> #include <math.h> int digitCount(int n) { //此函数用于获取整数的位数 int i 阅读全文
posted @ 2020-07-10 10:54 profesor 阅读(123) 评论(0) 推荐(0) 编辑