最新 最热

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

数学--数论--HDU--5878 Count Two Three 2016 ACM/ICPC Asia Regional Qingdao Online 1001

这个题的意思是让你找到一个k大于n并且能写成 2 a 3 ......

2020-10-28
1

CF--思维练习--CodeForces - 221C-H - Little Elephant and Problem (思维)

ACM思维题训练集合 The Little Elephant has got a problem — somebody has been touching his sorted by non-decreasing array a of length n and possibly swapped some elemen...

2020-10-28
1

CF--思维练习--CodeForces - 220C Little Elephant and Shifts (STL模拟)

ACM思维题训练集合 The Little Elephant has two permutations a and b of length n, consisting of numbers from 1 to n, inclusive. Let’s denote the i-th (1 ≤ i ≤ n) elemen...

2020-10-28
1

CodeForces - 260C

Little Vasya had n boxes with balls in the room. The boxes stood in a row and were numbered with numbers from 1 to n from left to right.

2020-10-28
1

POJ 2188 Cow Laundry

Cow Laundry Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1376 Accepted: 886 Description

2020-10-28
1

POJ 2230 Watchcow 欧拉回路的DFS解法(模板题)

Watchcow Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 9974 Accepted: 4307 Special Judge Description

2020-10-28
1

CodeForces - 140A New Year Table (几何题)当时没想出来-----补题

A. New Year Table time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Gerald is setting the New Year ...

2020-10-28
1