2015年8月4日

POJ 3620 Avoid The Lakes

摘要: Avoid The LakesDescriptionFarmer John's farm was flooded in the most recent storm, a fact only aggravated by the information that his cows are deathly... 阅读全文

posted @ 2015-08-04 23:57 焰 阅读(136) 评论(0) 推荐(0) 编辑

ZOJ 2100 Seeding

摘要: SeedingProblem Description It is spring time and farmers have to plant seeds in the field. Tom has a nice field, which is a rectangle with n * m squar... 阅读全文

posted @ 2015-08-04 23:54 焰 阅读(142) 评论(0) 推荐(0) 编辑

POJ 2245 Lotto

摘要: LottoDescriptionIn the German Lotto you have to select 6 numbers from the set {1,2,...,49}. A popular strategy to play Lotto - although it doesn... 阅读全文

posted @ 2015-08-04 23:51 焰 阅读(165) 评论(0) 推荐(0) 编辑

HDU 1181 变形课

摘要: 变形课Problem Description呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好... 阅读全文

posted @ 2015-08-04 23:48 焰 阅读(141) 评论(0) 推荐(0) 编辑

HDU 4707 Pet(邻接表dfs)

摘要: PetProblem DescriptionOne day, Lin Ji wake up in the morning and found that his pethamster escaped. He searched in the room but didn... 阅读全文

posted @ 2015-08-04 23:46 焰 阅读(136) 评论(0) 推荐(0) 编辑

ZOJ 2734 Exchange Cards

摘要: Exchange CardsProblem DescriptionAs a basketball fan, Mike is also fond of collecting basketball player cards. But as a student, he can ... 阅读全文

posted @ 2015-08-04 23:40 焰 阅读(191) 评论(0) 推荐(0) 编辑

HDU 1045 Fire Net

摘要: Fire NetProblem DescriptionSuppose that we have a square city with straight streets. A map of a city is a square board with n rows and... 阅读全文

posted @ 2015-08-04 23:36 焰 阅读(114) 评论(0) 推荐(0) 编辑

HDU 1754 I Hate It (线段树单点更新求最大值RMQ)

摘要: I Hate ItProblem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位... 阅读全文

posted @ 2015-08-04 11:35 焰 阅读(125) 评论(0) 推荐(0) 编辑

导航