最新 最热

补题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

The Preliminary Contest for ICPC Asia Xuzhou 2019 徐州网络赛 A Who is better?

After Asgard was destroyed, tanker brought his soldiers to earth, and at the same time took on the important task of protecting the peace of the earth. The best...

2020-10-28
1

The Preliminary Contest for ICPC Asia Xuzhou 2019 徐州网络赛 C Buy Watermelon

The hot summer came so quickly that Xiaoming and Xiaohong decided to buy a big and sweet watermelon. But they are two very strange people. They are even-numbere...

2020-10-28
1

The Preliminary Contest for ICPC Asia Xuzhou 2019 徐州网络赛 XKC's basketball team

XKC , the captain of the basketball team , is directing a train of nn team members. He makes all members stand in a row , and numbers them 1 cdots n1⋯n from le...

2020-10-28
1

Codeforce 1155D Beautiful Array(DP)

You are given an array aa consisting of nn integers. Beauty of array is the maximum sum of some consecutive subarray of this array (this subarray may be empty)....

2020-10-28
1

POJ 1170 Shopping Offers非状态压缩做法

Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 5659 Accepted: 2361

2020-10-28
1

CodeForces - 1102A(思维题)

https://vjudge.net/problem/2135388/origin Describe

2020-10-28
1

POJ 2955 区间DP必看的括号匹配问题,经典例题

Brackets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14226 Accepted: 7476 Description

2020-10-28
1

POJ 1845-Sumdiv(厉害了这个题)

Consider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901). Input

2020-10-28
1

数学--数论--HDU2136 Largest prime factor 线性筛法变形

问数的编号,素数的话就是第几个素数就是他的编号如 2-1 3-2 5-3 7-4非素数就是最小的素因子的序号是他的序号。修改后的线筛完事。

2020-10-28
1