Блог пользователя uninterested._.coder

Автор uninterested._.coder, 20 месяцев назад, По-английски

You have given a number n you have to return the smallest possible palindrome number of digit n which is divisble by 7.

1<=n<=1000

Input :

4 -> no of test cases

1

2

3

4

output :

0

77

161

1001

####

Полный текст и комментарии »

  • Проголосовать: нравится
  • -6
  • Проголосовать: не нравится