PAT(Advanced Level)Practice
PAT甲级
曦之阳
Enjoy life.
展开
-
1001 A+B Format (20 point(s))
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 Specification: Each input ...原创 2019-09-12 22:06:13 · 157 阅读 · 0 评论 -
1002 A+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, and each line contains the informa...原创 2019-09-13 22:25:38 · 120 阅读 · 0 评论 -
PAT (Advanced Level) Practice 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 day when the call is made. W...原创 2019-08-13 20:32:27 · 138 阅读 · 0 评论