
NYOJ 语言入门
木槿君
洒洒水啦~~~~~~
展开
-
NYOJ T57 6174问题
6174问题 时间限制:1000 ms | 内存限制:65535 KB 难度:2描述 假设你有一个各位数字互不相同的四位数,把所有的数字从大到小排序后得到a,从小到大后得到b,然后用a-b替换原来这个数,并且继续操作。例如,从1234出发,依次可以得到4321-1234=3087、8730-378=8352、8532-2358=6174,又回到了它自己!现在要你写一个程序来...原创 2018-04-10 19:12:41 · 253 阅读 · 0 评论 -
NYOJ 216题 A problem is easy
A problem is easy时间限制:1000 ms | 内存限制:65535 KB 难度:3描述 When Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup of water plus 1 pile of doug...原创 2018-04-25 14:56:23 · 255 阅读 · 0 评论