Mã bài:
songuyendoixung
Điểm:
1 (OI)
Giới hạn thời gian:
1.0s
Giới hạn bộ nhớ:
512M
Dữ liệu vào:
stdin
Dữ liệu ra:
stdout
Tác giả:
Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Pascal, Python, Scratch
Bình luận
include<bits/stdc++.h>
using namespace std;
define ll long long
ll n; bool dx(ll n) { ll a=0,b=n; while(n>0) { a=a*10+n%10; n=n/10; } if(a==b) return 1; else return 0;
} int main() { cin>>n; if(dx(n)) cout<<"YES"; else cout<<"NO"; }
(‿ˠ‿)
include<bits/stdc++.h>
using namespace std; long long n,dx,k; int main () { cin>>n; k=n,dx=0; while(n>0) { dx=dx*10+n%10; n=n/10; } if(dx==k) cout<<"YES"; else cout<<"NO"; }
(‿ˠ‿)ɓɑɕɦ
꧁༺♭@☾♄ᴾᴿᴼシ༻
×͜×𝙩𝙧𝙪𝙣𝙜‿✶
࿐ⓣⓘⓔⓝ‿✶
亗ⓑⓐ©ⓗ亗
亗ⓑⓐ©ⓗ亗