Răspuns:
#include <iostream>
using namespace std;
int main()
{
int n,i,og=0,c,v[100],nr=0;
cin>>n;
for(i=1; i<=n; i++)
cin>>v[i];
cout<<"elementele de tip palindrom sunt ";
for(i=1; i<=n; i++)
{
if(v[i]>10)
c=v[i];
while(c!=0)
{
og=og*10+c%10;
c/=10;
}
if(v[i]==og)
cout<<v[i]<<" ";
og=0;
}
return 0;
}