I have some task...
"A positive integer is called palindrom if his team in the same system Decade
when read from left to right and from right to left. For a given positive integer k with no more than
12 digits to write the smallest value greater than K palindrom. The numbers are always
written without a leading zero (0)."
The first line contains integer t, the number of test cases. Integers K are given in the next t lines.
For each K, output the smallest palindrome larger than K.
This is a task of a hope that will help me about this....Thanks in advance....