
PAT甲级
蕾姆的小迷弟
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PAT 1005 Spell It Right
1005Spell It Right(20分)Given a non-negative integerN, your task is to compute the sum of all the digits ofN, and output every digit of the sum in English.Input Specification:Each input file...原创 2019-04-15 19:29:53 · 220 阅读 · 0 评论 -
PAT 1006 Sign In and Sign Out
1006Sign 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-04-15 20:25:22 · 327 阅读 · 0 评论 -
PAT 1008 Elevator
1008Elevator(20分)The highest building in our city has only one elevator. A request list is made up withNpositive numbers. The numbers denote at which floors the elevator will stop, in specified...原创 2019-04-15 20:57:59 · 568 阅读 · 0 评论 -
PAT 1007 Maximum Subsequence Sum
1007Maximum Subsequence Sum(25分)Given a sequence ofKintegers {N1,N2, ...,NK}. A continuous subsequence is defined to be {Ni,Ni+1, ...,Nj} where1≤i≤j≤K. The Maximum Su...原创 2019-04-15 22:24:11 · 149 阅读 · 0 评论 -
PAT 1001 A+B Format
1001A+B Format(20分)Calculatea+band 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).Input Spe...原创 2019-04-13 19:00:52 · 231 阅读 · 0 评论 -
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-04-13 21:13:20 · 223 阅读 · 0 评论 -
PAT 1009 Product of Polynomials
1009Product of 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...原创 2019-04-16 21:10:42 · 171 阅读 · 0 评论 -
PAT 1011 World Cup Betting
1011World 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-17 23:19:53 · 209 阅读 · 0 评论 -
PAT 1012 The Best Rank
1012The 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 (Calculus or L...原创 2019-04-20 10:30:51 · 165 阅读 · 0 评论