摘要: 1、迭代器是一种对象,它能够用来遍历STL容器中的部分或全部元素,每个迭代器对象代表容器中的确定的地址。迭代器修改了常规指针的接口,所谓迭代器是一种概念上的抽象:那些行为上象迭代器的东西都可以叫做迭代器。然而迭代器有很多不同的能力,它可以把抽象容器和通用算法有机的统一起来。 2、迭代器提供一... 阅读全文
posted @ 2016-07-26 21:49 弃用博客 阅读(142) 评论(0) 推荐(0)
摘要: The Blocks Problem Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 5404 Accepted: 2314 Description Many areas of Computer S... 阅读全文
posted @ 2016-07-26 21:09 弃用博客 阅读(163) 评论(0) 推荐(0)
摘要: #include #include #include using namespace std;int sum[1002];char str[1000];int main(){ while(scanf("%s",str)&&strcmp(str,"0")) { int l... 阅读全文
posted @ 2016-07-26 10:55 弃用博客 阅读(119) 评论(0) 推荐(0)
摘要: 必须去掉前导0和后导0,一个特殊数据是对000.00这样的输出0 #include#includeusing namespace std;int main(){ string r; int n,dianwei; const int R_LEN=150;//存下的极限数位大小 ... 阅读全文
posted @ 2016-07-26 09:16 弃用博客 阅读(129) 评论(0) 推荐(0)
摘要: Modular multiplication of polynomials Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 4516 Accepted: 2033 Description Con... 阅读全文
posted @ 2016-07-26 00:13 弃用博客 阅读(372) 评论(0) 推荐(0)