- 博客(4)
- 收藏
- 关注
原创 【PAT 甲级】1002 A+B for Polynomials
1002A+B for Polynomials(25 分) This time, you are supposed to findA+BwhereAandBare two polynomials. Input Specification: Each input file contains one test case. Each case occupies 2 lines, a...
2019-02-02 21:36:51 177
原创 【PAT 甲级】1008 Elevator
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...
2019-02-02 20:12:51 168
原创 【PAT 甲级】1006 Sign In and Sign Out
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 reco...
2019-02-01 16:39:24 269
原创 【PAT 甲级】1007 Maximum Subsequence Sum
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. The Maximum Su...
2019-02-01 13:47:23 256
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人