redoCxz
redoCxz
全部文章
ACM练习题
ACM练习赛(18)
BZOJ刷题(5)
C++算法模板(20)
codeforce(4)
hdu(8)
java(16)
Java算法模板(24)
kotlin(1)
Leetcode(12)
Lintcode(26)
剑指offer(1)
拓展欧几里德(1)
最小生成树(1)
未归档(70)
杂七杂八(41)
水题(1)
牛客网(2)
牛客网错题总结(1)
算法四(2)
题解(1)
归档
标签
去牛客网
登录
/
注册
redoCxz的博客
全部文章
/ ACM练习题
(共250篇)
hdu3069——Saruman's Army
Saruman the White must lead his army along a straight path from Isengard to Helm’s Deep. To keep track of his forces, Saruman distributes seeing stone...
2021-04-05
0
457
Codeforces1005C——Summarize to the Power of Two
A sequence a1,a2,…,an is called good if, for each element ai, there exists an element aj (i≠j) such that ai+aj is a power of two (that is, 2d for some...
2021-04-05
0
582
Codeforces1005D——Polycarp and Div 3
Polycarp likes numbers that are divisible by 3. He has a huge number s. Polycarp wants to cut from it the maximum number of numbers that are divisibl...
2021-04-05
0
590
Codeforces1005E1——Median on Segments (Permutations Edition)
You are given a permutation p1,p2,…,pn. A permutation of length n is a sequence such that each integer between 1 and n occurs exactly once in the sequ...
2021-04-05
0
603
Codeforces1003A——Polycarp's Pockets
Polycarp has n coins, the value of the i-th coin is ai. Polycarp wants to distribute all the coins between his pockets, but he cannot put two coins wi...
2021-04-05
0
554
Codeforces1003B——Binary String Constructing
You are given three integers a, b and x. Your task is to construct a binary string s of length n=a+b such that there are exactly a zeroes, exactly b o...
2021-04-05
0
529
Codeforces1003C——Intense Heat
The heat during the last few days has been really intense. Scientists from all over the Berland study how the temperatures and weather change, and the...
2021-04-05
0
614
Codeforces1003D——Coins and Queries
Polycarp has n coins, the value of the i-th coin is ai. It is guaranteed that all the values are integer powers of 2 (i.e. ai=2d for some non-negative...
2021-04-05
0
627
Codeforces1004A——Sonya and Hotels
Sonya decided that having her own hotel business is the best way of earning money because she can profit and rest wherever she wants. The country whe...
2021-04-05
0
510
Codeforces1004B——Sonya and Exhibition
Sonya decided to organize an exhibition of flowers. Since the girl likes only roses and lilies, she decided that only these two kinds of flowers shoul...
2021-04-05
0
486
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页