2018年11月26日

1008 Elevator

摘要: 水题~ #include <iostream> #include <cstring> #include <string> #include <sstream> #include <string> #include <cstdio> #include <algorithm> #include <vec 阅读全文

posted @ 2018-11-26 23:06 FTA_Macro 阅读(109) 评论(0) 推荐(0) 编辑

1002 A+B for Polynomials

摘要: 水题~ 最好是把得到所有的幂放在一个数组里,然后排序去重,不过这题的幂最大只有1000,所以这么写了。 一开始没看到保留一位小数,wa了一发,难受。 #include <iostream> #include <cstring> #include <string> #include <sstream> 阅读全文

posted @ 2018-11-26 20:47 FTA_Macro 阅读(140) 评论(0) 推荐(0) 编辑

1001 A+B Format

摘要: 这道水题有个巨坑:1000的输出是1,000而不是100,0。因为这个改了一早上代码。 还有一个要注意的是和为0的时候,这个简单。 #include <iostream> #include <cstring> #include <string> #include <sstream> #include 阅读全文

posted @ 2018-11-26 12:19 FTA_Macro 阅读(186) 评论(0) 推荐(0) 编辑

导航