Count the Colors ZOJ - 1610 线段树(可以暴力水过)
Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.
Your task is counting the segments of different colors you can see at last.
原创
2017-07-11 20:43:38 ·
388 阅读 ·
0 评论