- 博客(96)
- 收藏
- 关注
原创 HDU 4417 Super Mario
Problem DescriptionMario is world-famous plumber. His “burly” figure and amazing jumping ability reminded in our memory. Now the poor princess is in trouble again and Mario needs to save his lover
2015-07-31 19:15:10 403
原创 HDU 2665 Kth number
Problem DescriptionGive you a sequence and ask you the kth big number of a inteval. InputThe first line is the number of the test cases. For each test case, the first line contain
2015-07-31 19:15:03 485
原创 HDU 5334 Virtual Participation
Problem DescriptionAs we know, Rikka is poor at math. Yuta is worrying about this situation, so he asks rikka to have some practice on codeforces. Then she opens the problem B:Given an integer
2015-07-31 19:13:45 774
原创 HDU 5336 XYZ and Drops
Problem DescriptionXYZ is playing an interesting game called "drops". It is played on a r∗c grid. Each grid cell is either empty, or occupied by a waterdrop. Each waterdrop has a property "size".
2015-07-30 19:15:07 729 2
原创 HDU 5335 Walk Out
Problem DescriptionIn an n∗m maze, the right-bottom corner is the exit (position (n,m) is the exit). In every position of this maze, there is either a 0 or a 1 written on it.An explorer gets los
2015-07-30 19:12:56 1188 2
原创 HDU 5328 Problem Killer
Problem DescriptionYou are a "Problem Killer", you want to solve many problems. Now you have n problems, the i-th problem's difficulty is represented by an integer ai (1≤ai≤109).For some strange
2015-07-30 19:10:57 738
原创 HDU 5327 Olympiad
Problem DescriptionYou are one of the competitors of the Olympiad in numbers. The problem of this year relates to beatiful numbers. One integer is called beautiful if and only if all of its digita
2015-07-30 19:09:16 769
原创 HDU 2119 Matrix
Problem DescriptionGive you a matrix(only contains 0 or 1),every time you can select a row or a column and delete all the '1' in this row or this column .Your task is to give out the minimum t
2015-07-30 11:19:34 479
原创 HDU 4735 Little Wish~ lyrical step~
Problem DescriptionN children are living in a tree with exactly N nodes, on each node there lies either a boy or a girl.A girl is said to be protected, if the distance between the girl and her n
2015-07-30 10:41:43 435
原创 HDU 3957 Street Fighter
Problem DescriptionStreet Fighter is a popular Fighting game. In the game, you could choose many roles to fight. Each role has some models, in different model the role has different super skill.
2015-07-29 23:47:32 469
原创 HDU 3498 whosyourdaddy
Problem Descriptionsevenzero liked Warcraft very much, but he haven't practiced it for several years after being addicted to algorithms. Now, though he is playing with computer, he nearly losed an
2015-07-29 21:46:50 465
原创 HDU 3656 Fire station
Problem DescriptionA city's map can be seen as a two dimensional plane. There are N houses in the city and these houses can be seen as N points P1 …… PN on the two dimensional plane. For simplicit
2015-07-29 21:25:45 512
原创 HDU 5046 Airport
Problem DescriptionThe country of jiuye composed by N cites. Each city can be viewed as a point in a two- dimensional plane with integer coordinates (x,y). The distance between city i and city j i
2015-07-29 20:53:42 658
原创 HDU 4979 A simple math problem.
Problem DescriptionDragon loves lottery, he will try his luck every week. One day, the lottery company brings out a new form of lottery called accumulated lottery. In a normal lottery, you pick 7
2015-07-29 20:32:32 610
原创 HDU 3335 Divisibility
Problem DescriptionAs we know,the fzu AekdyCoin is famous of math,especially in the field of number theory.So,many people call him "the descendant of Chen Jingrun",which brings him a good reputati
2015-07-29 16:46:39 596
原创 HUST 1017 Exact cover
DescriptionThere is an N*M matrix with only 0s and 1s, (1 InputThere are multiply test cases. First line: two integers N, M; The following N lines: Every line first comes an integer C(
2015-07-29 15:56:06 430
原创 SPOJ 1771 NQUEEN Yet Another N-Queen Problem
After solving Solution to the n Queens Puzzle by constructing, LoadingTime wants to solve a harder version of the N-Queen Problem. Some queens have been set on particular locations on the board in t
2015-07-29 15:47:29 818
原创 HDU 3663 Power Stations
Problem DescriptionThere are N towns in our country, and some of them are connected by electricity cables. It is known that every town owns a power station. When a town’s power station begins to w
2015-07-29 14:05:17 429
原创 HDU 5316 Magician
Problem DescriptionFantasy magicians usually gain their ability through one of three usual methods: possessing it as an innate talent, gaining it through study and practice, or receiving it from a
2015-07-28 21:16:16 801
原创 HDU 5323 Solve this interesting problem
Problem DescriptionHave you learned something about segment tree? If not, don’t worry, I will explain it for you.Segment Tree is a kind of binary tree, it can be defined as this:- For each nod
2015-07-28 19:16:45 739
原创 HDU 5317 RGCDQ
Problem DescriptionMr. Hdu is interested in Greatest Common Divisor (GCD). He wants to find more and more interesting things about GCD. Today He comes up with Range Greatest Common Divisor Query (
2015-07-28 19:16:31 945 2
原创 ZOJ 3886 Nico Number
DescriptionKousaka Honoka and Minami Kotori are playing a game about a secret of Yazawa Nico.When the game starts, Kousaka Honoka will give Minami Kotori an array A of N non-negative integers. T
2015-07-28 11:15:32 624
原创 ZOJ 3890 Wumpus
One day Leon finds a very classic game called Wumpus.The game is as follow.Once an agent fell into a cave. The legend said that in this cave lived a kind of monster called Wumpus, and there were hor
2015-07-27 23:55:17 662
原创 ZOJ 3888 Twelves Monkeys
James Cole is a convicted criminal living beneath a post-apocalyptic Philadelphia. Many years ago, the Earth's surface had been contaminated by a virus so deadly that it forced the survivors to move
2015-07-27 23:54:31 441
原创 ZOJ 3882 Help Bob
There is a game very popular in ZJU at present, Bob didn't meant to participate in it. But he decided to join it after discovering a lot of pretty girls playing it.There are n stones on the ground a
2015-07-27 23:50:38 633
原创 ZOJ 3209 Treasure Map
DescriptionYour boss once had got many copies of a treasure map. Unfortunately, all the copies are now broken to many rectangular pieces, and what make it worse, he has lost some of the pieces. Lu
2015-07-27 22:28:04 480
原创 FZU 1686 神龙的难题
Description这是个剑与魔法的世界.英雄和魔物同在,动荡和安定并存.但总的来说,库尔特王国是个安宁的国家,人民安居乐业,魔物也比较少.但是.总有一些魔物不时会进入城市附近,干扰人民的生活.就要有一些人出来守护居民们不被魔物侵害.魔法使艾米莉就是这样的一个人.她骑着她的坐骑,神龙米格拉一起消灭干扰人类生存的魔物,维护王国的安定.艾米莉希望能够在损伤最小的前提下完成任务.每次战斗前
2015-07-27 18:59:17 473
原创 POJ 1084 Square Destroyer
DescriptionThe left figure below shows a complete 3*3 grid made with 2*(3*4) (=24) matchsticks. The lengths of all matchsticks are one. You can find many squares of different sizes in the grid.
2015-07-27 18:29:35 1018
原创 HDU 3529 Bomberman - Just Search!
Problem DescriptionBomberman has been a very popular game ever since it was released. As you can see above, the game is played in an N*M rectangular room. Bomberman can go around the room and plac
2015-07-27 18:27:29 650
原创 HDU 2295 Radar
Problem DescriptionN cities of the Java Kingdom need to be covered by radars for being in a state of war. Since the kingdom has M radar stations but only K operators, we can at most operate K rada
2015-07-27 18:26:04 303
原创 HDU 2828 Lamp
Problem DescriptionThere are several switches and lamps in the room, however, the connections between them are very complicated. One lamp may be controlled by several switches, and one switch may
2015-07-27 18:24:21 355
原创 HDU 5312 Sequence
Problem DescriptionToday, Soda has learned a sequence whose nn-th (n \ge 1)(n≥1) item is 3n(n-1)+13n(n−1)+1. Now he wants to know if an integer mm can be represented as the sum of some ite
2015-07-26 17:11:48 374
原创 HDU 5311 Hidden String
Problem DescriptionToday is the 1st anniversary of BestCoder. Soda, the contest manager, gets a string ss of length nn. He wants to find three nonoverlapping substrings s[l_1..r_1]s[l1..r1
2015-07-26 17:11:33 371
原创 HDU 5310 Souvenir
Problem DescriptionToday is the 1st anniversary of BestCoder. Soda, the contest manager, wants to buy a souvenir for each contestant. You can buy the souvenir one by one or set by set in the shop.
2015-07-26 17:08:32 514
原创 POJ 3093 Margaritas on the River Walk
DescriptionOne of the more popular activities in San Antonio is to enjoy margaritas in the park along the river know as the River Walk. Margaritas may be purchased at many establishments along
2015-07-26 17:04:19 364
原创 POJ 2062 Card Game Cheater
DescriptionAdam and Eve play a card game using a regular deck of 52 cards. The rules are simple. The players sit on opposite sides of a table, facing each other. Each player gets k cards from th
2015-07-26 17:03:08 578
原创 POJ 3548 Restoring the digits
DescriptionLet's consider arithmetic expressions (addition or subtraction) over non-negative decimal integers. The expression syntax is as follows:the first operand;the operator sign ('+' or
2015-07-26 17:02:51 389
原创 POJ 2570 Fiber Network
DescriptionSeveral startup companies have decided to build a better Internet, called the "FiberNet". They have already installed many nodes that act as routers all around the world. Unfortunatel
2015-07-26 17:00:27 324
原创 POJ 2184 Cow Exhibition
Description"Fat and docile, big and dumb, they look so stupid, they aren't much fun..." - Cows with Guns by Dana Lyons The cows want to prove to the public that they are both smart and f
2015-07-26 16:58:33 306
原创 POJ 1384 Piggy-Bank
DescriptionBefore ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes from Irreversibly Bound Money (IBM). The idea
2015-07-26 16:57:18 266
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人