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

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

筛选

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

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