求助!报错代码
查看原帖
求助!报错代码
977778
__Harry_Haiyun__楼主2023/5/12 13:49
#include <iostream>
#include <cstring>
using namespace std;
string n;
int main()
{
	cin >> n;
	int n1 = stoi(n);
	if (n1 % 62 == 0) 
	{
		cout << "Yes";
		return 0;
	}
	else
	{
		if (strstr(n,"62") == NULL) cout << "No";
		else cout << "Yes";
		return 0;
	}
}
2023/5/12 13:49
加载中...