水
Wang_SF2015
这个作者很懒,什么都没留下…
展开
-
文章标题HDU 4355:codeforces 621C:Wet Shark and Flowers(水)
Wet Shark and FlowersDescriptionThere are n sharks who grow flowers for Wet Shark. They are all sitting around the table, such that sharks i and i + 1 are neighbours for all i from 1 to n - 1. Sharks n原创 2016-07-28 23:22:08 · 311 阅读 · 0 评论 -
文章标题 HDU 5538 : House Building
House BuildingDescriptionHave you ever played the video game Minecraft? This game has been one of the world’s most popular game in recent years. The world of Minecraft is made up of lots of blocks in原创 2016-09-30 21:40:14 · 301 阅读 · 0 评论 -
文章标题 HDU 4788 : Hard Disk Drive (水)
Hard Disk DriveDescription Yesterday your dear cousin Coach Pang gave you a new 100MB hard disk drive (HDD) as a gift because you will get married next year. But you turned on your computer and th原创 2016-10-30 22:06:49 · 100 阅读 · 0 评论 -
文章标题 HDU 1157 : Who's in the Middle(水)
Who’s in the MiddleDescription FJ is surveying his herd to find the most average cow. He wants to know how much milk this ‘median’ cow gives: half of the cows give as much or more than the median; hal原创 2016-11-13 20:19:43 · 305 阅读 · 0 评论 -
文章标题 HDU 2199 : Can you solve this equation?(二分)
Can you solve this equation?Description 现在,给出等式8* X^4+ 7* X^3+ 2* X^2+ 3 * X +6= Y,请找出他在0和100之间的解(包含0和100)。 现在,请你试试运气。。。。 Input 输入的第一行包含一个整数T(1 <= T <=100),表示测试用例的数目。接下来T个数字,每一行都有一个实数Y(abs(Y)<=10^1原创 2016-11-23 16:49:11 · 319 阅读 · 0 评论 -
文章标题 CoderForces 298A: Snow Footprints(水)
Snow FootprintsDescription There is a straight snowy road, divided into n blocks. The blocks are numbered from 1 to n from left to right. If one moves from the i-th block to the (i + 1)-th block, he w原创 2016-11-27 15:32:50 · 375 阅读 · 0 评论 -
文章标题 CoderForces 298B : Sail(分类)
SailDescription The polar bears are going fishing. They plan to sail from (sx, sy) to (ex, ey). However, the boat can only sail by wind. At each second, the wind blows in one of these directions: east原创 2016-11-27 15:39:50 · 146 阅读 · 0 评论 -
文章标题 CoderForces 755A : PolandBall and Hypothesis(水)
PolandBall and HypothesisPolandBall is a young, clever Ball. He is interested in prime numbers. He has stated a following hypothesis: “There exists such a positive integer n that for each positive inte原创 2017-01-16 13:04:24 · 581 阅读 · 0 评论 -
文章标题 Coderforces 755B : PolandBall and Game(水)
PolandBall and GamePolandBall is playing a game with EnemyBall. The rules are simple. Players have to say words in turns. You cannot say a word which was already said. PolandBall starts. The Ball which原创 2017-01-16 13:18:59 · 184 阅读 · 0 评论 -
文章标题 POJ 3673 : Cow Multiplication (水)
Cow MultiplicationBessie is tired of multiplying pairs of numbers the usual way, so she invented her own style of multiplication. In her style, A*B is equal to the sum of all possible pairwise products原创 2017-01-23 16:50:28 · 234 阅读 · 0 评论 -
文章标题 HDU 1902 :The Dragon of Loowater(贪心)
The Dragon of LoowaterProblem Description Once upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem. The shores of Rellau Creek in central Loowater had always been a原创 2016-09-25 22:06:38 · 308 阅读 · 0 评论 -
文章标题 HDU 1445 : Ride to School (贪心)
Ride to SchoolProblem Description Many graduate students of Peking University are living in Wanliu Campus, which is 4.5 kilometers from the main campus - Yanyuan. Students in Wanliu have to either tak原创 2016-09-25 21:30:44 · 411 阅读 · 0 评论 -
文章标题 HDU 2570 : 迷瘴(贪心)
迷瘴通过悬崖的yifenfei,又面临着幽谷的考验—— 幽谷周围瘴气弥漫,静的可怕,隐约可见地上堆满了骷髅。由于此处长年不见天日,导致空气中布满了毒素,一旦吸入体内,便会全身溃烂而死。 幸好yifenfei早有防备,提前备好了解药材料(各种浓度的万能药水)。现在只需按照配置成不同比例的浓度。 现已知yifenfei随身携带有n种浓度的万能药水,体积V都相同,浓度则分别为Pi%。并且知道,针对当原创 2016-09-25 21:21:24 · 304 阅读 · 0 评论 -
文章标题 HDU 5272:Dylans loves numbers( 水)
Dylans loves numbersDescriptionWho is Dylans?You can find his ID in UOJ and Codeforces. His another ID is s1451900 in BestCoder. And now today’s problems are all about him. Dylans is given a number N原创 2016-08-18 14:40:10 · 353 阅读 · 0 评论 -
文章标题 UVALive 7035: Built with Qinghuai and Ari Factor(水)
Built with Qinghuai and Ari FactorShamatisan is a somewhat famous smartphone maker in China, they built smartphones that hope to contend with Abble and Dami for the hearts, minds and the wallets of Chi原创 2016-09-11 20:41:00 · 457 阅读 · 0 评论 -
文章标题 poj 1978 :Hanafuda Shuffle(模拟)
Hanafuda ShuffleDescriptionThere are a number of ways to shuffle a deck of cards. Hanafuda shuffling for Japanese card game ‘Hanafuda’ is one such example. The following is how to perform Hanafuda shuf原创 2016-09-12 23:44:18 · 430 阅读 · 0 评论 -
文章标题 Gym100971B :Derangement
DerangementA permutation of n numbers is a sequence of integers from 1 to n where each number is occurred exactly once. If a permutation p1, p2, …, pn has an index i such that pi = i, this index is cal原创 2016-09-14 23:59:58 · 307 阅读 · 0 评论 -
文章标题Gym 100971C :triangles
trianglesDescriptionstandard input/output AnnouncementStatements There is a set of n segments with the lengths li. Find a segment with an integer length so that it could form a non-degenerate triang原创 2016-09-16 13:08:53 · 344 阅读 · 0 评论 -
文章标题 Gym100791G:repair
repairAlex is repairing his country house. He has a rectangular metal sheet of size a × b. He has to cut two rectangular sheets of sizes a1 × b1 and a2 × b2 from it. All cuts must be parallel to the si原创 2016-09-16 13:19:48 · 476 阅读 · 0 评论 -
文章标题 codeforces 706B :Interesting drink( 水)
Interesting drinkDescriptionVasiliy likes to rest after a hard work, so you may often meet him in some bar nearby. As all programmers do, he loves the famous drink “Beecola”, which can be bought in n d原创 2016-08-15 08:54:50 · 145 阅读 · 0 评论 -
文章标题 HDU 5112- A Curious Matt
A Curious MattDescriptionThere is a curious man called Matt. One day, Matt’s best friend Ted is wandering on the non-negative half of the number line. Matt finds it interesting to know the maximal spee原创 2016-09-22 21:04:07 · 279 阅读 · 0 评论 -
文章标题 HDU 5122 : K.Bro Sorting
K.Bro SortingDescriptionMatt’s friend K.Bro is an ACMer. Yesterday, K.Bro learnt an algorithm: Bubble sort. Bubble sort will compare each pair of adjacent items and swap them if they are in the wrong o原创 2016-09-22 21:16:47 · 357 阅读 · 0 评论 -
文章标题 CSU 1578 : 爬楼梯 (简单DP)
爬楼梯小时候我们都玩过爬楼梯的游戏:两人猜拳,赢了可向上爬一级,谁先到最高级则获胜。作为大学生,我们应该玩一个更有水平的游戏。 现在一个人要上n级楼梯,每一步可以选择上一级或者上两级,但是不能后退。求上这n级楼梯的方案数。Input 第一行只有一个整数T(1<=T<=45),表示数据组数。 下面的T行每一行有一个整数n(1<=n<=45),表示有多少级楼梯。Output 对于每一组数据输出一原创 2017-01-29 13:53:00 · 303 阅读 · 0 评论