文章
35
粉丝
0
获赞
144
访问
7.3k
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
while(cin>>s){
int count=0;
for(int i=0;i<s.length();i++){
if(s[i]=='.'){
for(int j=1;j<s.length();j++) {
if(s[j]=='0'){
count=0;
}else{
count++;
}
}
}
}
if(count>0){
cout<<"No"<<endl;
}else{
cout<<"Yes"<<endl;
}
}
return 0;
}
登录后发布评论
暂无评论,来抢沙发