随笔分类 -  map容器

火影忍者之~忍者村
摘要:忍者村是忍者聚居的村子,相等于国家的军事力量。绝大部分村民都是忍者,有一些忍者会在村内开设书店、餐厅等,不过大部分忍者都是为村子执行任务的忍者,以赚取酬劳,并于战时为国家出战。村子亦会培训年轻村民成为忍者。 忍者们一般以三人一组执行各种任务,现在假设不同村子的忍者不会一起执行任务,给出一些忍者的组合 阅读全文

posted @ 2017-03-05 21:27 Yxter 阅读(313) 评论(0) 推荐(0)

ZOJ 2971 Give Me the Number (模拟,字符数组的清空+map)
摘要:Numbers in English are written down in the following way (only numbers less than 109 are considered). Number abc,def,ghi is written as "[abc] million  阅读全文

posted @ 2017-02-16 17:21 Yxter 阅读(380) 评论(0) 推荐(0)

set, map, string, find(), string name[100],等的混合
摘要:There are n single boys and m single girls. Each of them may love none, one or several of other people unrequitedly and one-sidedly. For the comingq d 阅读全文

posted @ 2017-02-07 17:17 Yxter 阅读(252) 评论(0) 推荐(0)

HDU 3499 Flight spfa+dp
摘要:Flight Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Recently, Shua Shua had a big quarrel with his GF. He is so upset 阅读全文

posted @ 2016-08-06 19:56 Yxter 阅读(362) 评论(0) 推荐(0)

HDU 4460 Friend Chains(map + spfa)
摘要:Friend Chains Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description For a group of people, there is an idea that everyone is eq 阅读全文

posted @ 2016-08-06 19:52 Yxter 阅读(174) 评论(0) 推荐(0)

[HDU] 2094 产生冠军(拓扑排序+map)
摘要:产生冠军 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。球赛的规则如下:如果A打败了B,B又打败了C,而A与C之间没有进行过比 阅读全文

posted @ 2016-07-25 18:56 Yxter 阅读(198) 评论(0) 推荐(0)

导航