PAT
香蕉你个不啦啦
这个作者很懒,什么都没留下…
展开
-
PAT甲级 1002 A+B for Polynomials
这个题我一直没发现错误,只对了第一个样例,我看了好几遍都没有发现哪里错了,最后发现float d[1001]忘了初始化定义,小伙伴们不要像我这样粗心奥。 题目: 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 eac...原创 2021-05-26 23:43:06 · 70 阅读 · 0 评论 -
PAT甲级 1001 A+B Format
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 file contains one test case. Each case contains a pair o..原创 2021-05-26 23:14:30 · 102 阅读 · 0 评论