Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148459 张晓冉 2020 C++ Accepted 0 MS 272 KB 217 2026-02-16 17:09:36

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; }