上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页
摘要: 1036 Boys vs Girls (25分) This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all 阅读全文
posted @ 2019-12-09 21:47 57one 阅读(205) 评论(0) 推荐(0)
摘要: To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords 阅读全文
posted @ 2019-12-09 21:32 57one 阅读(237) 评论(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 @ 2019-12-09 21:10 57one 阅读(168) 评论(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 @ 2019-12-08 19:28 57one 阅读(308) 评论(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 @ 2019-12-08 16:48 57one 阅读(223) 评论(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 @ 2019-12-08 15:56 57one 阅读(250) 评论(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 @ 2019-12-08 15:23 57one 阅读(225) 评论(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 @ 2019-12-08 14:56 57one 阅读(355) 评论(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 @ 2019-12-08 10:39 57one 阅读(269) 评论(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 @ 2019-12-01 23:10 57one 阅读(118) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页