Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
palindrome
//g++ 7.4.0 #include <iostream> using namespace std; int main() { int n; int rev=0; cin>>n; int temp=n; while(temp!=0) { int l = temp%10; rev=(rev*10)+l; temp=temp/10; } if(rev==n) { cout<<"palindrome"; } else{ cout<<"not palindrome"; } }
run
|
edit
|
history
|
help
0
articulation points (http://codeforces.com/contest/732/problem/F)
on_off
derive* -> gcc
1028D
water drop/ water land
Binary Search
Age
Dejalo a la Suerte
BinomialPoisson
test