So easy
2026-04-04 19:20:35
发布于:上海
39阅读
0回复
0点赞
迎来了转机!!!
庆祝(在2026年四月4号成功提交代码!!)
@AC君干杯🍻
#include<iostream>
#include<string>
using namespace std;
int main(){
string s;
cin>>s;
int count=0;
for(char c:s){
if(c=='4'||c=='7'){
count++;
}
}
if(count==4||count==7){
cout<<"YES";
}
else{
cout<<"NO";
}
}
第一次AC,奖励我罐头啊喂!!!
全部评论 7
RMJ 早就炸了
2026-02-09 来自 浙江
2?
2026-02-09 来自 浙江
1CF 把网站防护加强了,爬虫爬不到了,RMJ 就炸了
2026-02-09 来自 浙江
2RMJ是什么
2026-02-09 来自 浙江
1
ddd
2026-02-09 来自 浙江
1ddd
2026-02-09 来自 浙江
1ddd
2026-02-09 来自 浙江
1这都能当红题切了(
4天前 来自 上海
0?
4天前 来自 上海
0太水了
4天前 来自 上海
0???
4天前 来自 上海
0
ddd
4天前 来自 上海
0ddd
4天前 来自 上海
0















有帮助,赞一个