随笔分类 -  PAT 甲级

上一页 1 ··· 3 4 5 6 7
摘要:Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: That is 阅读全文
posted @ 2018-03-10 15:05 王清河 阅读(115) 评论(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 @ 2018-03-10 09:44 王清河 阅读(271) 评论(0) 推荐(0) 编辑
摘要:This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students. Inp 阅读全文
posted @ 2018-03-09 12:54 王清河 阅读(130) 评论(0) 推荐(0) 编辑
摘要:At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door 阅读全文
posted @ 2018-03-09 11:11 王清河 阅读(128) 评论(0) 推荐(0) 编辑
摘要:With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing ba 阅读全文
posted @ 2018-03-09 10:29 王清河 阅读(142) 评论(0) 推荐(0) 编辑
摘要:This time, you are supposed to find A*B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu 阅读全文
posted @ 2018-03-08 14:08 王清河 阅读(109) 评论(0) 推荐(0) 编辑
摘要:Given three integers A, B and C in [-263, 263], you are supposed to tell whether A+B > C. Input Specification: The first line of the input gives the p 阅读全文
posted @ 2018-03-08 08:08 王清河 阅读(98) 评论(0) 推荐(0) 编辑
摘要:The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of e 阅读全文
posted @ 2018-03-07 20:35 王清河 阅读(98) 评论(0) 推荐(0) 编辑
摘要:Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "ins 阅读全文
posted @ 2018-03-07 19:59 王清河 阅读(115) 评论(0) 推荐(0) 编辑
摘要:As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some ro 阅读全文
posted @ 2018-03-07 18:08 王清河 阅读(167) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7
点击右上角即可分享
微信分享提示