摘要:
1029. Median (25)Given an increasing sequence S of N integers, themedianis the number at the middle position. For example, the median of S1={11, 12, 1... 阅读全文
摘要:
1028. List Sorting (25)Excel can sort records according to any column. Now you are supposed to imitate this function.InputEach input file contains one... 阅读全文
摘要:
1025. PAT Ranking (25)Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test ... 阅读全文
摘要:
1024. Palindromic Number (25)A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 12... 阅读全文
摘要:
1020. Tree Traversals (25)Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequenc... 阅读全文