Numbers ZOJ - 3987(二进制思维+贪心)

Numbers ZOJ - 3987 DreamGrid has a nonnegative integer . He would like to divide into nonnegative integers and minimizes their bitwise or (i.e. and s...

2018-09-19 12:07:08

阅读数 114

评论数 0

Buy and Resell HDU - 6438(贪心+优先队列)

Buy and Resell HDU - 6438 The Power Cube is used as a stash of Exotic Power. There are n cities numbered 1,2,…,n where allowed to trade it. The trad...

2018-08-27 13:45:59

阅读数 91

评论数 0

Buy Low Sell High CodeForces - 867E(贪心+优先队列)

Buy Low Sell High CodeForces - 867E You can perfectly predict the price of a certain stock for the next N days. You would like to profit on this kno...

2018-08-27 13:29:41

阅读数 79

评论数 0

Reorder the Array(贪心)

Reorder the Array You are given an array of integers. Vasya can permute (change order) its integers. He wants to do it so that as many as possible i...

2018-07-22 10:54:20

阅读数 93

评论数 0

Death to Binary? POJ - 2116(模拟+贪心)

Death to Binary? POJ - 2116 The group of Absurd Calculation Maniacs has discovered a great new way how to count. Instead of using the ordinary decad...

2018-07-18 11:09:36

阅读数 63

评论数 0

Duizi and Shunzi HDU - 6188 (思维+贪心)

Duizi and Shunzi HDU - 6188 Nike likes playing cards and makes a problem of it. Now g...

2018-06-04 19:39:53

阅读数 139

评论数 0


companyProblem DescriptionThere are n kinds of goods in the company, with each of them has a inventory of  and direct unit benefit . Now you find due...

2018-05-03 17:57:30

阅读数 42

评论数 0

Talented Chef ZOJ - 3778 (思维+贪心)

Talented Chef ZOJ - 3778 As we all know, Coach Gao is a talented chef, because he is able to cook M dishes...

2018-04-24 09:32:45

阅读数 52

评论数 0

Shooting Game FZU - 2144 区间覆盖贪心

Shooting Game FZU - 2144 Fat brother and Maze are playing a kind of special (hentai) ...

2018-04-15 21:05:58

阅读数 45

评论数 1

Sub-Bipartite Graph FZU - 2141 (贪心+染色)

Sub-Bipartite Graph FZU - 2141 Given a simple undirected graph G with n vertices and m edges, your task i...

2018-04-14 16:07:57

阅读数 51

评论数 0

L2-003. 月饼(贪心)

L2-003. 月饼 时间限制 100 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard ...

2018-03-30 18:59:18

阅读数 46

评论数 0

Appleman and Card Game CodeForces - 462B (贪心)

Appleman and Card Game CodeForces - 462B Appleman has n cards. Each card has an uppercase letter written on it. Toastman must choose k c...

2018-01-26 17:33:57

阅读数 114

评论数 0

取消 删除