最新 最热

CodeForces - 1176A Divide it! (模拟+分类处理)

You can perform any of the following operations with this number an arbitrary (possibly, zero) number of times:

2020-10-28
1

Codeforce-Ozon Tech Challenge 2020-C. Kuroni and Impossible Calculation(鸽笼原理)

To become the king of Codeforces, Kuroni has to solve the following problem.

2020-10-28
1

Codeforce-Ozon Tech Challenge 2020-D. Kuroni and the Celebration(交互题+DFS)

After getting AC after 13 Time Limit Exceeded verdicts on a geometry problem, Kuroni went to an Italian restaurant to celebrate this holy achievement. Unfortuna...

2020-10-28
1

杭电60题--part 1 HDU1003 Max Sum(DP 动态规划)

Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequenc...

2020-10-28
1

Codeforce-CodeCraft-20 (Div. 2)-C. Primitive Primes(本原多项式+数学推导)

It is Professor R’s last class of his teaching career. Every time Professor R taught a class, he gave a special problem for the students to solve. You being his...

2020-10-28
1

codeforce 270B Multithreading

Emuskald is addicted to Codeforces, and keeps refreshing the main page not to miss any changes in the "recent actions" list. He likes to read thread conversatio...

2020-10-28
1

HDU 1421 搬寝室 解题报告(超详细)

Problem Description 搬寝室是很累的,xhd深有体会.时间追述2006年7月9号,那天xhd迫于无奈要从27号楼搬到3号楼,因为10号要封楼了.看着寝室里的n件物品,xhd开始发呆,因为n是一个小于2000的整数,实在是太多了,于是xhd决...

2020-10-28
1

codeforce 270C Magical Boxes

Emuskald is a well-known illusionist. One of his trademark tricks involves a set of magical boxes. The essence of the trick is in packing the boxes inside other...

2020-10-28
1

Codeforce 270D Greenhouse Effect

Emuskald is an avid horticulturist and owns the world's longest greenhouse — it is effectively infinite in length.

2020-10-28
1

codeforce 272B Dima and Sequence

Dima got into number sequences. Now he's got sequence a1, a2, ..., an, consisting of n positive integers. Also, Dima has got a function f(x), which can be defin...

2020-10-28
1