题解 2304: 蓝桥杯2019年第十届省赛真题-特别数的和

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

暴力模拟!!

摘要:```cpp #include using namespace std; bool check(int k){ int isflag = 0; while(k){ ……

练练用vector容器解题

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include<vector>using namespace std;const int N=10010;int n,su……

纯代码无注释

摘要:```cpp #include #include using namespace std; bool judge(int k) { string str=to_string(k);//数……

纯签到题,str.count直接秒了

摘要:解题思路:注意事项:参考代码:n=int(input())cnt=0for i in range(1,n+1):    t=str(i)    if t.count(&#39;2&#39;)>0 or……