Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86976 杨珂茹 2020 C++ Accepted 1 MS 272 KB 206 2024-07-31 20:00:50

Tests(3/3):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,g,s,b,q; cin>>n; g=n%10; s=n/10%10; b=n/100%10; q=n/1000%10; if(g==b&&s==q) cout<<"YES"; else cout<<"NO"; return 0; }