- 浏览: 192519 次
- 性别:
- 来自: 广州
最新评论
-
yomean:
怎么全是背包的。。?
Cash Machine(多重背包) -
Simone_chou:
yomean 写道http://www.notonlysucc ...
Sliding Window(线段树) -
yomean:
http://www.notonlysuccess.com/i ...
Sliding Window(线段树) -
Simone_chou:
yomean 写道你的博客好多图,好赞!图用QQ表情那个涂鸦随 ...
Find them, Catch them(带权并查集) -
yomean:
你的博客好多图,好赞!
Find them, Catch them(带权并查集)
文章列表
Eliminate the Conflict
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1838 Accepted Submission(s): 789
Problem Description
Conflicts are everywhere in the world, from the young to the elderly, from families to countries. Conflicts cause ...
Juice Extractor
Jerry loses himself in the interesting game: Fruit Ninja. Fruit Ninja is a game of iPhone and iPad in which the players cut the fruits coming from the bottom of the screen and gain the bonus from cutting more than two fruits with a single slice. Once a fruit is cut, it brea ...
Hacking Cypher(数学)
- 博客分类:
- CF
C. Hacking Cypher
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Polycarpus participates in a competition for hacking into a new secure messenger. He's almost won.
Having carefully studied the interaction protocol, ...
Diverse Permutation(构造)
- 博客分类:
- CF
C. Diverse Permutation
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Permutation p is an ordered set of integers p1, p2, ..., pn, consisting of
Flowers(DP)
- 博客分类:
- CF
D. Flowers
time limit per test
1.5 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
We saw the little game Marmot made for Mole's lunch. Now it's Marmot's dinner time and, as we all know, Marmot eats flowers. At every dinner he eats some ...
Beam Cannon(线段树 + 扫描线)
- 博客分类:
- HDOJ
Beam Cannon
Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 225 Accepted Submission(s): 87
Problem Description
Recently, the γ galaxies broke out Star Wars. Each planet is warring for resources. In the Star Wars, Planet X is under attack ...
Game with Pearls(二分图)
- 博客分类:
- HDOJ
Game with Pearls
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 145 Accepted Submission(s): 96
Problem Description
Tom and Jerry are playing a game with tubes and pearls. The rule of the game is:1) Tom and Jerry come up together with a n ...
Battle ships(二分图)
- 博客分类:
- HDOJ
Battle ships
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0
Problem Description
Dear contestant, now you are an excellent navy commander, who is responsible of a tough mission currently. Your fleet unfortuna ...
Qin Shi Huang's National Road System
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3750 Accepted Submission(s): 1305
Problem Description
During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in ...
Coprime(容斥定理 + 筛选)
- 博客分类:
- HDOJ
Coprime
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 400 Accepted Submission(s): 178
Problem Description
There are n people standing in a line. Each of them has a unique id number.Now the Ragnarok is coming. We should choose 3 people ...
Known Notation(分析模拟)
- 博客分类:
- ZOJ
Known Notation
Time Limit: 2 Seconds Memory Limit: 65536 KB
Do you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also known as postfix notation since every operator in an expression follows all of its operands. Bob is a stud ...
Domination(概率DP)
- 博客分类:
- ZOJ
Domination
Time Limit: 8 Seconds Memory Limit: 131072 KB Special Judge
Edward is the headmaster of Marjar University. He is enthusiastic about chess and often plays chess with his friends. What's more, he bought a large decorative chessboard with N rows and M columns.
Every da ...
Design the city
Time Limit: 1 Second Memory Limit: 32768 KB
Cerror is the mayor of city HangZhou. As you may know, the traffic system of this city is so terrible, that there are traffic jams everywhere. Now, Cerror finds out that the main reason of them is the poor design of the roads distri ...
Connections between cities
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5067 Accepted Submission(s): 1410
Problem Description
After World War X, a lot of cities have been seriously damaged, and we need to rebuild those cities. However ...
Distance Queries
Time Limit: 2000MS
Memory Limit: 30000K
Total Submissions: 9500
Accepted: 3332
Case Time Limit: 1000MS
Description
Farmer John's cows refused to run in his marathon since he chose a path much too long for their leisurely lifestyle. He therefore wants t ...