上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 49 下一页
摘要: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number (回文数字). For example, 1234321 is a palindromic 阅读全文
posted @ 2018-01-15 17:37 A-Little-Nut 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 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 24 阅读全文
posted @ 2018-01-15 17:22 A-Little-Nut 阅读(518) 评论(0) 推荐(0) 编辑
摘要: PAT 1022. Digital Library A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publi 阅读全文
posted @ 2018-01-08 21:28 A-Little-Nut 阅读(153) 评论(0) 推荐(0) 编辑
摘要: PAT 1021. Deepest Root A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you a 阅读全文
posted @ 2018-01-08 20:35 A-Little-Nut 阅读(200) 评论(0) 推荐(0) 编辑
摘要: PAT 1020. Tree Traversals Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequenc 阅读全文
posted @ 2018-01-08 13:19 A-Little-Nut 阅读(140) 评论(0) 推荐(0) 编辑
摘要: PAT 1019. General Palindromic Number A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For exa 阅读全文
posted @ 2018-01-07 21:25 A-Little-Nut 阅读(176) 评论(0) 推荐(0) 编辑
摘要: PAT 1018. Public Bike Management There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the wo 阅读全文
posted @ 2018-01-07 13:35 A-Little-Nut 阅读(288) 评论(0) 推荐(0) 编辑
摘要: PAT 1017. Queueing at Bank Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting are 阅读全文
posted @ 2018-01-07 10:06 A-Little-Nut 阅读(135) 评论(0) 推荐(0) 编辑
摘要: PAT 1016. Phone Bills A long distance telephone company charges its customers by the following rules: Making a long distance call costs a certain amou 阅读全文
posted @ 2018-01-06 20:45 A-Little-Nut 阅读(187) 评论(0) 推荐(0) 编辑
摘要: PAT 1015. Reversible Primes A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For example in t 阅读全文
posted @ 2018-01-05 22:14 A-Little-Nut 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 49 下一页