最新 最热

Codeforce-Ozon Tech Challenge 2020-A. Kuroni and the Gifts

the i-th necklace has a brightness ai, where all the ai are pairwise distinct (i.e. all ai are different), the i-th bracelet has a brightness bi, where all the...

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

杭电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 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

补题Codeforces 1102E. Monotonic Renumeration

这个题还是不太懂,下面附上的是大佬的题解(https://zhanghuimeng.github.io/post/codeforces-1102e-monotonic-renumeration/) E. Monotonic Renumeration time limit per test2 seconds mem...

2020-10-28
1

2019 ICPC 南京网络赛 F Greedy Sequence

You're given a permutation aa of length nn (1 le n le 10^51≤n≤105).

2020-10-28
1

2019 ICPC 银川网络赛 H. Fight Against Monsters

It is my great honour to introduce myself to you here. My name is Aloysius Benjy Cobweb Dartagnan Egbert Felix Gaspar Humbert Ignatius Jayden Kasper Leroy Maxim...

2020-10-28
1

2019 ICPC 银川网络赛 D. Take Your Seat (疯子坐飞机问题)

Duha decided to have a trip to Singapore by plane.

2020-10-28
1