2022年12月3日

同构数:找出1到n之间有多少个同构数。

摘要: //同构数是这样一种数:它出现在它的平方数的右端。 #include <bits/stdc++.h>using namespace std;int f(int a){//利用函数找出a个10相乘,a就是n的位数。 int s=1; while(a!=0){ s=s*10; a=a/10; } ret 阅读全文

posted @ 2022-12-03 17:27 小雨谷 阅读(355) 评论(0) 推荐(0)

导航