-
在一大串字符串中查找某一个字符或者字符串出现的次数.并且返回次数....
在一大串字符串中查找某一个字符或者字符串出现的次数.并且返回次数.-string in a string search for a character string or the number of occurrences. And the number of returnees.
- 2022-08-04 11:12:29下载
- 积分:1
-
本算法使用分治法求解最近点对问题。事先用O(nlogn)时间对x坐标进行排序,使得所有的点是按x坐标从小到大排好序的(x坐标相同时y坐标小的排前),然后取下标小...
本算法使用分治法求解最近点对问题。事先用O(nlogn)时间对x坐标进行排序,使得所有的点是按x坐标从小到大排好序的(x坐标相同时y坐标小的排前),然后取下标小于n/2属于左边的点集PL,取下标大于n/2属于右边的点集PR,即用O(1)时间就可以将规模为n的问题分解为两个规模为n/2的、同类型的子问题。分割完毕之后就可以采用分治法,分别求出PL和PR中的最近点对,最终通过递归实现。-This algorithm uses divide and conquer to solve the problem closest point. Prior to use O (nlogn) time to sort the x coordinate so that all points are based on x coordinates from small to large sorted (x coordinates with the same y coordinates of the small, the top), and then remove the standard is less than n/2 the set of points belonging to the left PL, remove the standard is greater than n/2 set of points belonging to the right of PR, that is to use O (1) time can be the problem size n divided into two size n/2, the same type The sub-problems. Segmentation can be used after completion of sub-rule method, respectively, find the PL and PR in the last points and eventually through the recursion.
- 2022-01-25 16:01:13下载
- 积分:1
-
the code of the Russian block and Snake game's source code, you can support,...
本代码是俄罗斯方块与贪吃蛇游戏的源代码,希望各位多多支持,谢谢了!-the code of the Russian block and Snake game"s source code, you can support, thank you!
- 2022-06-20 09:43:16下载
- 积分:1
-
设计一个一元多项式加法器:两个多项式相加,输出多项式并计算...
设计一个一元多项式加法器:两个多项式相加,输出多项式并计算-One dollar design a polynomial adder: the sum of two polynomials, and calculate the output polynomial
- 2022-03-24 13:41:46下载
- 积分:1
-
The JILRunOnly project is a simple command
The JILRunOnly project is a simple command-line application written in ANSI-C that is intended to demonstrate in detail, how the JILRuntime/JewelScript library can be embedded into an application.
- 2022-01-25 23:34:52下载
- 积分:1
-
几种VB程序和案例
几种VB程序和案例-VB program and several cases
- 2023-03-24 07:50:04下载
- 积分:1
-
一个远程文件传送程序的服务器端
一个远程文件传送程序的服务器端--Server-a remote file transfer protocol server-side-- Server
- 2023-02-12 05:25:03下载
- 积分:1
-
excel VBA制作的扫雷游戏,初学EXCEL 编程的人可以下载
excel VBA制作的扫雷游戏,初学EXCEL 编程的人可以下载-excel VBA mine produced games, novice programming EXCEL can download
- 2022-06-18 08:08:37下载
- 积分:1
-
MATLAB初学者
包好了一些用matlab做非线性规划的源程序
MATLAB初学者
包好了一些用matlab做非线性规划的源程序-MATLAB beginner beginner package MATLAB with matlab to do some good non-linear programming source code
- 2022-07-01 18:13:13下载
- 积分:1
-
gps for ppc gps for ppc enjoy this!!
gps for ppc enjoy this-gps for ppc gps for ppc enjoy this!!
- 2023-06-25 04:05:03下载
- 积分:1