Question about palindromic numbers in other bases .

Правка en1, от ZerocooL95, 2016-02-03 20:14:11

I was doing a problem on codechef and couldnt get to the solution . If anyone can help , it would be appreciated . Given a number N, write a program to compute the smallest base B such that N is palindromic when written in base B. 1<=N<=10**10. Link: https://www.codechef.com/problems/K2

Теги palindrome, easy, codechef

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ZerocooL95 2016-02-03 20:14:11 340 Initial revision (published)