上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 49 下一页
摘要: PAT 1014. Waiting in Line (30) Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting 阅读全文
posted @ 2018-01-05 13:22 A-Little-Nut 阅读(249) 评论(0) 推荐(0) 编辑
摘要: Battle Over Cities It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways 阅读全文
posted @ 2018-01-05 09:58 A-Little-Nut 阅读(136) 评论(0) 推荐(0) 编辑
摘要: The Best Rank To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C C Programming Langu 阅读全文
posted @ 2018-01-04 21:57 A-Little-Nut 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1011. World Cup Betting (20) With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players 阅读全文
posted @ 2018-01-04 19:53 A-Little-Nut 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1010. Radix (25) Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal 阅读全文
posted @ 2018-01-04 18:01 A-Little-Nut 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1009. Product of Polynomials (25) This time, you are supposed to find A B where A and B are two polynomials. Input Specification: Each input file cont 阅读全文
posted @ 2018-01-04 11:19 A-Little-Nut 阅读(118) 评论(0) 推荐(0) 编辑
摘要: PAT 1008. Elevator (20) The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote 阅读全文
posted @ 2018-01-04 10:56 A-Little-Nut 阅读(99) 评论(0) 推荐(0) 编辑
摘要: PAT 1007. Maximum Subsequence Sum (25) Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., 阅读全文
posted @ 2018-01-04 10:23 A-Little-Nut 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1006. Sign In and Sign Out (25) At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one 阅读全文
posted @ 2018-01-04 08:54 A-Little-Nut 阅读(251) 评论(0) 推荐(0) 编辑
摘要: PAT 1005. Spell It Right (20) Given a non negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the su 阅读全文
posted @ 2018-01-03 22:37 A-Little-Nut 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 49 下一页