上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 98 下一页
摘要: Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run sim 阅读全文
posted @ 2020-06-18 15:08 Veritas_des_Liberty 阅读(164) 评论(0) 推荐(0)
摘要: A table tennis club has N tables available to the public. The tables are numbered from 1 to N. For any pair of players, if there are some tables open 阅读全文
posted @ 2020-06-17 16:42 Veritas_des_Liberty 阅读(298) 评论(0) 推荐(0)
摘要: People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher 阅读全文
posted @ 2020-06-17 15:09 Veritas_des_Liberty 阅读(202) 评论(0) 推荐(0)
摘要: Excel can sort records according to any column. Now you are supposed to imitate this function. Input Specification: Each input file contains one test 阅读全文
posted @ 2020-06-16 17:13 Veritas_des_Liberty 阅读(180) 评论(0) 推荐(0)
摘要: 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 1 阅读全文
posted @ 2020-06-16 16:33 Veritas_des_Liberty 阅读(141) 评论(0) 推荐(0)
摘要: A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a progra 阅读全文
posted @ 2020-06-15 16:15 Veritas_des_Liberty 阅读(241) 评论(0) 推荐(0)
摘要: Given any string of N (≥) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l l r 阅读全文
posted @ 2020-06-15 14:48 Veritas_des_Liberty 阅读(170) 评论(0) 推荐(0)
摘要: To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same s 阅读全文
posted @ 2020-06-14 16:59 Veritas_des_Liberty 阅读(169) 评论(0) 推荐(0)
摘要: With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have to find gas s 阅读全文
posted @ 2020-06-13 23:48 Veritas_des_Liberty 阅读(221) 评论(0) 推荐(0)
摘要: One way that the police finds the head of a gang is to check people's phone calls. If there is a phone call between A and B, we say that A and B is re 阅读全文
posted @ 2020-06-05 18:10 Veritas_des_Liberty 阅读(199) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 98 下一页