摘要:
终于A了,我好想砍人,虽然这是一道基础的区间合并。但是这错误我也是醉了。 错误我表在注释里。 题目意思不多说,sha崽题目出的很简洁。 #include <iostream>#include <stdio.h>#include <string.h>#include <algorithm> using 阅读全文
posted @ 2014-10-31 22:38
武略
阅读(206)
评论(0)
推荐(0)
摘要:
这是第一题线段树的区间合并的题; 这类的题用于求连续的最长长度什么的; 这题我看的是一篇比较不错的博客; 我把我的理解注释在代码里了; #include <iostream>#include <stdio.h>#include <string.h>#include <algorithm>using 阅读全文
posted @ 2014-10-31 13:37
武略
阅读(144)
评论(0)
推荐(0)