K-th Number HDU - 6231(二分+尺取)

K-th Number HDU - 6231 Alice are given an array A[1…N] with N numbers. Now Alice want to build an array B by a parameter K as following rules: Initia...

2018-09-24 11:02:57

阅读数:39

评论数:0

Balloon Robot ZOJ - 3981(思维)

Balloon Robot ZOJ - 3981 The 2017 China Collegiate Programming Contest Qinhuangdao Site is coming! There will be teams participating in the contest, ...

2018-09-21 10:23:14

阅读数:23

评论数:0

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

阅读数:47

评论数:0

Crusaders Quest ZOJ - 3983(思维+暴力)

Crusaders Quest ZOJ - 3983 Crusaders Quest is an interesting mobile game. A mysterious witch has brought great darkness to the game world, and the on...

2018-09-19 07:40:59

阅读数:26

评论数:0

Brute Force Sorting HDU - 6215(模拟双向链表)

Brute Force Sorting HDU - 6215 Beerus needs to sort an array of N integers. Algorithms are not Beerus’s strength. Destruction is what he excels. He ...

2018-09-14 04:50:48

阅读数:27

评论数:0

2018ACM-ICPC徐州赛区网络赛: A. Hard to prepare(递推)

2018ACM-ICPC徐州赛区网络赛: A. Hard to prepare(递推) After Incident, a feast is usually held in Hakurei Shrine. This time Reimu asked Kokoro to deliver a Nog...

2018-09-11 09:36:09

阅读数:78

评论数:0

ACM-ICPC 2018 徐州赛区网络预赛 - G Trace - 思维

ACM-ICPC 2018 徐州赛区网络预赛 - G Trace - 思维 There’s a beach in the first quadrant. And from time to time, there are sea waves. A wave ( xxx , yyy ) means ...

2018-09-10 16:22:30

阅读数:34

评论数:0

Number Sequence HDU - 5014(思维构造)

Number Sequence HDU - 5014 There is a special number sequence which has n+1 integers. For each number in sequence, we have two rules: ● a i ∈ [0,n...

2018-09-07 09:11:24

阅读数:29

评论数:0

The Wu CodeForces - 1017D(状态压缩)

The Wu CodeForces - 1017D Childan is making up a legendary story and trying to sell his forgery — a necklace with a strong sense of “Wu” to the Kaso...

2018-09-04 20:29:56

阅读数:24

评论数:0

The Phone Number CodeForces - 1017C(构造+思维)

The Phone Number CodeForces - 1017C Mrs. Smith is trying to contact her husband, John Smith, but she forgot the secret phone number! The only thing...

2018-09-04 19:57:32

阅读数:20

评论数:0

The Bits CodeForces - 1017B(思维)

The Bits CodeForces - 1017B Rudolf is on his way to the castle. Before getting into the castle, the security staff asked him a question: Given two ...

2018-09-04 19:35:52

阅读数:28

评论数:0

Kingdom of Black and White HDU - 5583(思维)

Kingdom of Black and White HDU - 5583 In the Kingdom of Black and White (KBW), there are two kinds of frogs: black frog and white frog. Now N ...

2018-09-04 12:53:16

阅读数:36

评论数:0

Binary Tree HDU - 5573(构造+思维)

Binary Tree HDU - 5573 The Old Frog King lives on the root of an infinite tree. According to the law, each node should connect to exactly two nodes ...

2018-09-04 12:45:54

阅读数:29

评论数:0

Did you mean...(模拟+条件判断)

Did you mean… Beroffice text editor has a wide range of features that help working with text. One of the features is an automatic search for typos a...

2018-09-03 15:19:58

阅读数:29

评论数:0

Roman Digits(打表找规律)

Roman Digits Let’s introduce a number system which is based on a roman digits. There are digits I, V, X, L which correspond to the numbers 1, 5, 10 ...

2018-09-03 14:13:09

阅读数:38

评论数:0

Function HDU - 5875(暴力+思维)

Function HDU - 5875 The shorter, the simpler. With this problem, you should be convinced of this truth. You are given an array A of N postive integ...

2018-08-31 18:43:33

阅读数:28

评论数:0

Friends and Enemies HDU - 5874(思维)

Friends and Enemies HDU - 5874 On an isolated island, lived some dwarves. A king (not a dwarf) ruled the island and the seas nearby, there are abun...

2018-08-31 18:30:37

阅读数:16

评论数:0

Football Games HDU - 5873(兰道定理)

Football Games HDU - 5873 A mysterious country will hold a football world championships—Abnormal Cup, attracting football teams and fans from all ar...

2018-08-31 18:15:20

阅读数:20

评论数:0

Jesus Is Here HDU - 5459(思维+数学递推)

Jesus Is Here HDU - 5459 I’ve sent Fang Fang around 201314 text messages in almost 5 years. Why can’t she make sense of what I mean? But Jesus is h...

2018-08-30 14:23:17

阅读数:61

评论数: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

阅读数:50

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭