我刷PAT – 1023 Have Fun with Numbers (20 分)

题目介绍
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be another 9-digit number consisting exactly the numbers from 1 to 9, only in a different permutation. Check to see the result if we double it again!
Now you are suppose to check if there are more numbers with this property. That is, double a given number with k digits, you are to tell if the resulti

我刷PAT – 1023 Have Fun with Numbers (20 分)最先出现在Python成神之路

版权声明:
作者:congcong
链接:https://www.techfm.club/p/17111.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>