跳到正文

题解

题解:P10993 【MX-J3-T0】 37

YouYou130约 1 分钟
原文
文章信息与版本

文章信息

收录
2026年1月9日
更新
2026年1月9日
篇幅
约 1 分钟
题目
P10993

版本

  1. v1当前
C++
#include<bits/stdc++.h>
using namespace std;
int a;string s;
string f()
{
	for(int i=1;i<s.size();i++) if(s[i]!=s[i-1]) return "No";
	return "Yes";
}
int main()
{
	cin>>a;
	s=to_string(a*37);
	cout<<f();
	return 0;
}
原文