最新 最热

POJ1458(最长公共子序列)

A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, …, xm > another sequence Z =...

2020-04-20
1

05-树8 File Transfer (25分)

We have a network of computers and a list of bi-directional connections. Each of these connections a

2020-04-18
1

06-图2 Saving James Bond - Easy Version (25分)

This time let us consider the situation in the movie “Live and Let Die” in which James Bond, the world’s most famous spy, was captured by a group of drug dealer...

2020-04-18
1

周练19.11.24

While playing with geometric figures Alex has accidentally invented a concept of a nn-th order rhombus in a cell grid.

2020-04-16
1

暑假(补) -7

并查集,在一些有N个元素的集合应用问题中,我们通常是在开始时让每个元素构成一个单元素的集合,然后按一定顺序将属于同一组的元素所在的集合合并,其间要反复查找一个元素在哪个集合中。简单的来说就是分门别类的问题。...

2020-04-16
1

2048 Game

You are playing a variation of game 2048. Initially you have a multiset ss of nn integers. Every integer in this multiset is a power of two.

2020-04-16
1

暑假(补)-5

DFS全称Deep First Search,是一种遍历或搜索树或图的算法。在解决问题上,利用递归调用自身函数(这种说法好像不正确,领悟思想就好了)来实现搜索的目的。把一个事情拆解成若干个小事,来实现最终的问题。...

2020-04-16
1

Fermat's Last Theorem

对于输入的n,判断这个一个三元方程xn+yn=znx^n+y^n=z^nx**n+y**n=z*n*是否有整数解

2020-04-15
1

二分法查找

给一有序的数组a[9]={1,2,3,4,5,6,7,8,9,},想要确定 3 的位置。

2020-04-14
1

vMix如何拉取NDI和输出NDI流?

NDI(Network Device Interface)即网络设备接口,是由美国NewTek公司开发的版权免费的标准,可使兼容的视频产品以高质量、低延迟、精确到帧的方式通讯、传输和接收广播级质量的视频,非常适合在现场直播制作环境中进行切换。 ...

2020-04-01
1