摘要: 1049 数列的片段和 (20分) #include<iostream> #include<vector> #include<cctype> #include<map> #include<set> #include<sstream> #include<string> #include<cstdio> 阅读全文
posted @ 2020-06-15 13:37 chstor 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1019 数字黑洞 (20分) 一个字符串的写法,坑点就是可能会出现不到4位的数,进行补零 #include<iostream> #include<vector> #include<cctype> #include<map> #include<set> #include<sstream> #incl 阅读全文
posted @ 2020-06-15 13:36 chstor 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1035 插入与归并 (25分) 数据比较小,归并不用写合并函数,直接sort 中间序列不包括初始序列 #include<iostream> #include<vector> #include<cctype> #include<map> #include<set> #include<sstream> 阅读全文
posted @ 2020-06-15 08:14 chstor 阅读(85) 评论(0) 推荐(0) 编辑