- 分享
天上剑仙三百万,见我也须尽低眉
- 2025-2-22 17:10:22 @
dsafnosfusafnsadsa
2 条评论
-
jwxjwx LV 3 @ 2025-3-1 17:16:37
-
2025-3-1 16:26:55@
#include<bits/stdc++.h> using namespace std; int main(){ int x,n,z,y,m; cin>>n>>x; for(int i=1;i<=n;i++){ y=i; while(y!=0){ m=y%10; if(m==x){ z=z+1; } y=y/10;
}
}cout<<z; }
- 1