PAT
cp0328
自由空间是各向同性的
展开
-
[PAT 甲级] 1011 World Cup Betting (20 分)
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 from the best teams doing battles for the World...原创 2019-04-03 21:59:12 · 3056 阅读 · 0 评论 -
[PAT 甲级] 1008 Elevator (20 分)【模拟】
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 at which floors the elevator will stop, in spec...原创 2019-04-02 10:12:53 · 3011 阅读 · 0 评论 -
[PAT 甲级] 1009 Product of Polynomials (25 分)
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 contains one test case. Each case occupies 2 li...原创 2019-04-02 10:37:52 · 3063 阅读 · 0 评论 -
[PAT 甲级]1012 The Best Rank (25 分)[多维度排序]
1012 The Best Rank (25 分)原题链接To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mathematics (Calculu...原创 2019-04-11 14:46:32 · 3360 阅读 · 0 评论 -
[PAT 甲级]1013 Battle Over Cities (25 分) [树的连通性]
1013 Battle Over Cities (25 分)原题链接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 from/toward that city are close...原创 2019-04-11 15:26:25 · 3079 阅读 · 0 评论 -
[PAT 甲级] 1016 Phone Bills (25 分)
1016 Phone Bills (25 分)原题链接A long-distance telephone company charges its customers by the following rules:Making a long-distance call costs a certain amount per minute, depending on the time of da...原创 2019-04-16 11:29:53 · 3473 阅读 · 1 评论 -
[PAT 甲级]1017 Queueing at Bank (25 分)【模拟】
1017 Queueing at Bank (25 分)原题链接Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers have t...原创 2019-04-16 20:36:30 · 3549 阅读 · 3 评论 -
[PAT 甲级] 1014 Waiting in Line (30 分)
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 area into two parts. The rules for the custome...原创 2019-04-14 17:00:41 · 3697 阅读 · 0 评论 -
[PAT 甲级] 1015 Reversible Primes (20 分) [进制转换]
1015 Reversible Primes (20 分)原题链接A reversible prime in any number system is a prime whose “reverse” in that number system is also a prime. For example in the decimal system 73 is a reversible prime...原创 2019-04-15 12:58:00 · 3158 阅读 · 0 评论