PAT (Advanced Level) 题目解析
文章平均质量分 58
PAT甲级100题解析
锦鲤与梨
欢迎关注知乎山鸟与鱼
展开
-
1002 A+B for Polynomials (25分)C++简单解法
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 information of a polynomial:K N1 aN1 N2 aN2 … NK aNK where .原创 2021-01-26 15:50:18 · 173 阅读 · 1 评论 -
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). Input Specification: Each input file contains one test case. Each case contains a pair o.原创 2021-01-25 16:48:22 · 119 阅读 · 0 评论