| 7 | #define endl '\n' |
| 8 | |
| 9 | int main(){ |
| 10 | cin.tie(0)->sync_with_stdio(0); |
| 11 | int n; |
| 12 | cin>>n; |
| 13 | int temp=n; |
| 14 | int ans=0; |
| 15 | while(n!=0){ |
| 16 | ans=ans*10+(n%10); |
| 17 | n/=10; |
| 18 | } |
| 19 | if(ans==temp) |
| 20 | cout<<"it is palindrome "<<endl; |
| 21 | else |
| 22 | cout<<"it is not pali"<<endl; |
| 23 | |
| 24 | return 0; |
| 25 | } |
| 26 | |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected