小坏蛋_千千

I was caught in a heavy rain!

ACM 外挂模板技巧篇

ACM 外挂模板技巧篇

2017-10-04 18:47:29

阅读数:530

评论数:0

TopCoder TCO 2018 Round 1A 500 (思维)

Problem Statement The Resistance is a multiplayer board game. During the game each player belongs into one of two groups: some are resistance mem...

2018-04-22 10:01:25

阅读数:184

评论数:0

Codeforces 908 F. New Year and Rainbow Roads(思维)

Description Roy and Biv have a set of n points on the infinite number line. Each point has one of 3 colors: red, green, or blue. Roy an...

2018-04-13 15:23:18

阅读数:59

评论数:0

ECNU 3337 我认识你 (思维)

Description 人与人之间的关系错综复杂,常常会出现一个叫作共同好友的东西。所以,贴心的 QQ 就提供了这样一个功能,可以显示你与某人(不一定是好友)有多少个共同好友。但是,当用户量逐渐增大,好友关系网不断复杂化,共同好友计算的效率就变得十分重要了。 你刚刚和腾讯公司签约...

2018-03-26 15:29:34

阅读数:179

评论数:0

Codeforces 714 C. Sonya and Queries (思维)

Description Today Sonya learned about long integers and invited all her friends to share the fun. Sonya has an initially empty multiset with inte...

2018-03-20 21:22:08

阅读数:54

评论数:0

Codeforces 712 C. Memory and De-Evolution (思维)

Description Memory is now interested in the de-evolution of objects, specifically triangles. He starts with an equilateral triangle of side lengt...

2018-03-20 20:59:01

阅读数:53

评论数:0

Codeforces 844 D. Interactive LowerBound (随机)

Description This is an interactive problem. You are given a sorted in increasing order singly linked list. You should find the minimum integ...

2018-02-09 23:13:17

阅读数:124

评论数:0

Codeforces 844 C. Sorting by Subsequences (循环节)

Description You are given a sequence a1, a2, …, an consisting of different integers. It is required to split this sequence into the maximum numbe...

2018-02-09 22:39:47

阅读数:93

评论数:0

Codeforces 292 D. Connected Components (并查集)

Description We already know of the large corporation where Polycarpus works as a system administrator. The computer network there consists of n c...

2018-02-07 16:34:40

阅读数:89

评论数:0

FZU 2216 The Longest Straight (尺取法)

Description ZB is playing a card game where the goal is to make straights. Each card in the deck has a number between 1 and M(including 1 and M)....

2018-01-27 22:47:05

阅读数:91

评论数:0

Codeforces 916 C. Jamie and Interesting Graph (构造)

Description Jamie has recently found undirected weighted graphs with the following properties very interesting: The graph is connected an...

2018-01-20 11:33:38

阅读数:349

评论数:0

Codeforces 913 C. Party Lemonade (思维)

Description A New Year party is not a New Year party without lemonade! As usual, you are expecting a lot of guests, and buying lemonade has already...

2018-01-10 12:01:33

阅读数:274

评论数:0

Codeforces 892 B. Wrath (递推)

Description Hands that shed innocent blood! There are n guilty people in a line, the i-th of them holds a claw with length Li. The bell rings ...

2017-11-18 11:45:18

阅读数:676

评论数:0

Codeforces 892 D. Gluttony (思维)

Description You are given an array a with n distinct integers. Construct an array b by permuting a such that for every non-empty subset of indices ...

2017-11-18 10:17:53

阅读数:437

评论数:0

Codeforces 890 D. Restoration of string (技巧)

Description A substring of some string is called the most frequent, if the number of its occurrences is not less than number of occurrences of any ...

2017-11-17 15:26:38

阅读数:372

评论数:0

Codeforces 122 D. Lucky Transformation (规律)

Description Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contains only the luck...

2017-10-31 14:58:08

阅读数:201

评论数:0

Codeforces 122 C. Lucky Sum(分块)

Description Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contains only the luck...

2017-10-31 14:39:11

阅读数:175

评论数:0

Codeforces 877 B. Nikita and string (技巧)

Description One day Nikita found the string containing letters “a” and “b” only. Nikita thinks that string is beautiful if it can be cut into ...

2017-10-26 12:39:48

阅读数:325

评论数:0

HDU 5972 Regular Number (bitset)

Description Using regular expression to define a numeric string is a very common thing. Generally, use the shape as follows: (0|9|7) (5|6) (2)...

2017-10-14 21:23:41

阅读数:223

评论数:0

Codeforces 868 C. Qualification Rounds (技巧)

Description Snark and Philip are preparing the problemset for the upcoming pre-qualification round for semi-quarter-finals. They have a bank of n p...

2017-10-05 21:30:11

阅读数:614

评论数:3

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