![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tire树
文章平均质量分 68
chAngE_AC
这个作者很懒,什么都没留下…
展开
-
poj-2418 Hardwood Species
题目数据很长就不放描述了。 题意:美国有各种各样不同的树木,你需要输入树木的名字,并且最后统计出每种树木所占的比例,并按字典序输出。 思路:字典树存储树的名字,统计每种树木的数量。除以输入数据的数量得到比例,最后输出即可,本题没有什么很难的算法,读懂题意就可以AC。 #include #include #include #include #include using原创 2015-08-17 09:50:31 · 730 阅读 · 0 评论 -
poj-2513 Colored Sticks
Description You are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible to align the sticks in a straight line such that the colors of the endpoints原创 2015-08-17 09:32:01 · 344 阅读 · 0 评论