|
|
|
|
讨论 Discussion |
|
| |
1221 |
#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("p1033.in","r",stdin);
freopen("p1033.out","w",stdout);
int a,g,s,b,q;
cin>>a;
g=a%10;
s=a/10%10;
b=a/100%10;
q=a/1000;
if(g==q&&s==b){
cout<<"Yes";
}else cout<<"No";
fclose(stdin);
fclose(stdout);
return 0;
}
( ) |
|
|
|
|
|
|
|
|
|
Flag |
|
题号 |
P1000 |
|
其它 |
通过 |
398人 |
提交 |
3301次 |
通过率 |
12% |
难度 |
0 |
|
|
|
|
|
|