最新 最热

CodeForces 1058C C. Vasya and Golden Ticket

C. Vasya and Golden Ticket time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Recently Vasya found a ...

2020-10-28
1

CodeForces - 1047B Cover Points

B. Cover Points time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There are n points on the plane, (...

2020-10-28
1

CodeForces - 1047A

A. Little C Loves 3 I time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Little C loves number «3» ve...

2020-10-28
1

FZU 1894 志愿者选拔

Accept: 2308 Submit: 7003 Time Limit: 1500 mSec Memory Limit : 32768 KB

2020-10-28
1

POJ 3581 Prime Gap(二分)

Prime GapTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 11009 Accepted: 6298DescriptionThe sequence of n − 1 consecutive composite numbers (posit...

2020-10-28
1

STL训练 HDU - 1716 Ray又对数字的列产生了兴趣:

HDU - 1716 Ray又对数字的列产生了兴趣: 现有四张卡片,用这四张卡片能排列出很多不同的4位数,要求按从小到大的顺序输出这些4位数。 Input 每组数据占一行,代表四张卡片上的数字(0<=数字<=9),如果四张卡片都是0,则输入结束。 ...

2020-10-28
1

STL 训练 POJ - 1862 Stripies

Our chemical biologists have invented a new very useful form of life called stripies (in fact, they were first called in Russian - polosatiki, but the scientist...

2020-10-28
1

CF思维联系– CodeForces - 991C Candies(二分)

After passing a test, Vasya got himself a box of n candies. He decided to eat an equal amount of candies each morning until there are no more candies. However, ...

2020-10-28
1

CF思维联系– CodeForces -CodeForces - 992C Nastya and a Wardrobe(欧拉降幂+快速幂)

Nastya received a gift on New Year — a magic wardrobe. It is magic because in the end of each month the number of dresses in it doubles (i.e. the number of dres...

2020-10-28
1

CF1288C-Two Arrays (DP)

You are given two integers n and m. Calculate the number of pairs of arrays (a,b) such that:

2020-10-28
1