- 博客(6)
- 收藏
- 关注
原创 PAT甲级 1028. List Sorting (25)
题目: Excel can sort records according to any column. Now you are supposed to imitate this function. Input Each input file contains one test case. For each case, the first line contains two i
2017-10-25 21:38:26 143
原创 PAT甲级 1029. Median (25)
题目: Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, and the median of S2={9, 10, 15, 16, 17} i
2017-10-25 20:47:53 157
原创 PAT甲级 1025. PAT Ranking (25)
题目: Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run simultaneously in several places, and the ra
2017-10-16 19:33:50 128
原创 PAT甲级 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, 1234321 is a palindromic number. All single digit numbers are palindromi
2017-10-13 13:57:28 156
原创 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 n
2017-10-13 13:13:16 147
原创 PAT 甲级1021. Deepest Root (25)
题目: A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find the root that results in a highest tree. Suc
2017-10-13 12:36:04 241
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人