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
相關文章
相關標籤/搜索