你们来做小老师

B2078 含 k 个 3 的数

Xiaonao_Dali @ 2023-10-29 14:09:16

求求问一下哪```

include <iostream>

using namespace std;

int main() { int m, k, n, b, i; cin >> m >> k;

n = m;
i = 0;
while (n >= 1)
{
    b = n % 10;
    if (b == 3)
    {
        i++;
    }
    n /= 10;
}
if(i==k){
    printf("YES");
}
else{
    printf("NO");
}
return 0;

}


错了

by Xiaonao_Dali @ 2023-10-29 15:21:25

@xvl_ 我6年级才学


by Xiaonao_Dali @ 2023-10-29 15:22:59

喂喂喂,你们没完了是吧,举报举报全部举报(部分不用)


by Xiaonao_Dali @ 2023-10-29 15:26:07

呵呵不读懂怎样,代码没进去


by Forever_LYD @ 2023-10-29 15:32:17

@z18659780866 你这代码需要开龙龙,v我50


by Miyamizu_Mitsuha @ 2023-10-30 19:59:08

@z18659780866 abxzbxbdowpx


by Xiaonao_Dali @ 2023-10-30 22:19:53

@p_Hydroxy 说人话


by mysterys @ 2023-11-10 20:56:22

@z18659780866 orz,xxs


by xingze @ 2023-11-12 14:07:57

@_includecstdio v我648现场给你开long long


by Xiaonao_Dali @ 2023-11-12 15:34:06

我删我删我删行了吧


by lingluyuqian @ 2023-12-18 19:49:53

希望更丰富的展现?使用 KaTeX、Markdown。


上一页 | 下一页