- 博客(9)
- 收藏
- 关注
原创 PAT TEST 甲级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 lines, and each line contains the i
2017-01-22 15:49:31
235
原创 PAT TEST甲级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 specified order. It costs
2017-01-22 15:07:27
313
原创 PAT TEST甲级1007. Maximum Subsequence Sum (25)
题目:Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj } where 1 <= i <= j <= K. TheMaximum Subsequence is the continuous subsequenc
2017-01-22 14:30:18
1200
原创 PAT TEST甲级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 who signs out will lock the door. Given the records of signing in's and out
2017-01-22 13:00:59
249
原创 PAT TEST 甲级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 sum in English.Input Specification: Each input file contains one test
2017-01-22 12:59:54
276
原创 PAT TEST甲级1004. Counting Leaves (30)
题目:A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains one test case. Each case starts with a
2017-01-22 12:58:03
220
原创 PAT TEST甲级1003. Emergency (25)
题目: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 roads. Amount of rescue teams in each city an
2017-01-22 12:55:59
183
原创 PAT TEST甲级1002. A+B for Polynomials (25)
题目:This time, you are supposed to find A+B where A and B are two polynomials.InputEach input file contains one test case. Each case occupies 2 lines, and each line contains the information of
2017-01-22 12:54:32
225
原创 PAT TEST 甲级1001. A+B Format (20)
题目:Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).InputEach input file
2017-01-22 12:50:46
296
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人