最新 最热

codeforces 1374D(数学)

You are given an array a consisting of n positive integers.

2020-10-23
1

HDU5269 (字典树)

Memphis loves xor very musch.Now he gets an array A.The length of A is n.Now he wants to know the sum of all (lowbit(Ai xor Aj)) (i,j∈[1,n]) We define that low...

2020-10-23
1

codeforces1369C(贪心)

Lee just became Master in Codeforces, and so, he went out to buy some gifts for his friends. He bought n integers, now it’s time to distribute them between his ...

2020-10-23
1

HDOJ 1018(数论)

Problem Description In many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, e...

2020-10-23
1

codeforce1196C

n robots have escaped from your laboratory! You have to find them as soon as possible, because these robots are experimental, and their behavior is not tested y...

2020-10-23
1

Codeforces Round #613 (Div. 2) C. Fadi and LCM

Today, Osama gave Fadi an integer X, and Fadi was wondering about the minimum possible value of max(a,b) such that LCM(a,b) equals X. Both a and b should be pos...

2020-10-23
1

数据库PostrageSQL-服务器配置(复制)

这些设置控制内建流复制特性(见Section 26.2.5)的行为。服务器将可以是主控服务器或后备服务器。主控机能发送数据,而后备机总是被复制数据的接收者。当使用级联复制(见Section 26.2.7)时,后备服务器也可以是发送者,同时也是...

2020-10-23
1

面试官:说一下List排序方法

排序算是比较高频的面试题了,节前面试了的两家公司都有问到排序问题,整理后分享给大家(文末见总结)。

2020-10-19
1

Android使用SoundPool实现播放音效

如果在程序应用中(比如:游戏的音效等)需要播放密集、短促的音效,这时就使用SoundPool来播放音效,SoundPool使用音效池的概念来管理多个短促的音效,例如它可以开始就10个音效,以后在程序中按音效的ID进行播放。...

2020-10-16
1

CodeForces 23B (图论 思维)

n people came to a party. Then those, who had no friends among people at the party, left. Then those, who had exactly 1 friend among those who stayed, left as w...

2020-09-29
1