ZOJ 1610 Count the Colors

  http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=610 仅仅只是一道线段树水题。。。。。 本来想根据先序遍历找线段个数。。。。但是最后越调越麻烦。。。。。。  最后改成,整个扫一遍。。。。。。 Count the Colors Time Limit: 2 Seconds       Memory Limit: 65536 K
相关文章
相关标签/搜索