![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT
Shengshengqi
这个作者很懒,什么都没留下…
展开
-
(错)1002 A+B for Polynomials (25分)
自己调试了很多例子都通过了,不知道错在哪里,这个用链表来写确实麻烦了,但不甘心就这样失败,之后回过头再来看吧。 #include<iostream> #include <cstddef> #include <iomanip> using namespace std; //存储结构 struct LinkNode { int data1; double...原创 2020-02-04 21:42:51 · 189 阅读 · 0 评论 -
PAT 1001 A+B Format (20分)
2020年2月4日,开始刷PAT的题,第一题就写了好久,总结起来需要考虑以下几个方面 特殊位置:划分点 临界值 0的处理 折腾的第一个版本 #include<iostream> using namespace std; int main() { int a = 0, b = 0, c = 0, d = 0; int t = 100; int f = 0, p = 0; ci...原创 2020-02-04 17:03:04 · 106 阅读 · 0 评论