60分求助,1,2,4,7点TLE(互关)
查看原帖
60分求助,1,2,4,7点TLE(互关)
1495577
zhangxuanhzo楼主2025/1/23 22:03
#include<bits/stdc++.h>
using namespace std;
bool act(long long x1){
	int m;
	if(x1%62==0) return 1;
	while(x1>0){
		m=x1%100;
		x1/=10;
		if(m==62) return 1;
	}
}
int main(){
	long long x;
	cin>>x;
	if(act(x)) cout<<"Yes";
	else cout<<"No";
	return 0;
}
2025/1/23 22:03
加载中...