阅读背景:

1136 A Delayed Palindrome (20)

来源:互联网 

Consider a positive integer N written in standard notation with k+1 digits a~i~ as a~k~...a~1~a~0~ with 0 <= a~i~ < 10 for all i and a~k~ > 0. Then N is palindromic if and only if a~i~ = a~k-i~ for all i. Zero is written 0 and is also palindromic by definition.Consider a positive integer N written i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: