-
最近点对问题的图形界面实现,用户可以通过鼠标输入点集,也可以通过随机生成点集,程序会将最近的两个点用红色标示出来...
最近点对问题的图形界面实现,用户可以通过鼠标输入点集,也可以通过随机生成点集,程序会将最近的两个点用红色标示出来-Nearest point on the question of the realization of a graphical interface, users can mouse input point set, can also be randomly generated point set, the program will be the two most recent points, marked in red
- 2023-02-18 07:40:03下载
- 积分:1
-
java数据结构方面的,关于二叉树,很简单、实用
java数据结构方面的,关于二叉树,很简单、实用-data structure, for the binary tree, a very simple, practical
- 2023-05-20 06:25:03下载
- 积分:1
-
数据结构——链表(双向循环链表)
双向循环链表节点:数据域+指针域指针域:一个指针指向前一个同类型节点,另一个指针指向后一个同类型节点(1)设计节点struct db_node{int data;struct db_node * prev;struct db_node * next;};(2)创建空链表//创建了一个只有头节点的双向循环链表,返回头节点的地址struct db_node * create_db_list(void){struct db_node * phead = (struct db_node *)malloc(sizeof(struct db_node));if(phead == NULL)exit(-1);else{phead->next = phead;phead->prev = phead;}return phead;}(3)制造新节点//制造新节点,返回新节点的地址struct db_node * make_db_node(int value){struct db_node * pnew = (struct db_node *)malloc(sizeof(struct db_node));if(pnew == NULL)printf("malloc failed!
");else{pnew->data = value;pnew->next = NULL;pnew->prev = NULL;}return pnew;}(4)插入节点//把pnew指向的节点插入到头节点的前面,也就是整个链表的末尾bo
- 2022-02-14 07:06:11下载
- 积分:1
-
堆栈表达式求值系统,处理整型数,c语言编写
堆栈表达式求值系统,处理整型数,c语言编写-stack expression for the value system, handling integer, c language
- 2022-07-09 19:48:15下载
- 积分:1
-
Exhaustive Cipher/In many cases we need to exhaustive combinations of algorithms...
穷举密码算法
/在许多情况下我们需要穷举组合的算法,比如密码词典。
//这个算法的关键是密码下标进位的问题。
//另外本例子中的写文件语句效率比较低,为了降低算法复杂度没有优化。
//如果要提高写文件的效率,可以使用缓冲区,分批写入。-Exhaustive Cipher/In many cases we need to exhaustive combinations of algorithms, such as the password dictionary.// This algorithm, the key is password subscript binary problems.// Another example of this statement to write a document relatively low efficiency, in order to reduce the algorithm complexity is not optimized.// If you want to improve the efficiency of writing documents, you can use the buffer, write in batches.
- 2023-09-07 14:55:03下载
- 积分:1
-
字符频度统计,采用Hash表即链表数组作为存储结构,是hash表的简单运用,还包括一定的文件操作...
字符频度统计,采用Hash表即链表数组作为存储结构,是hash表的简单运用,还包括一定的文件操作-characters frequency statistics, the use of Hash Tables List that as a storage array structure, hash table is a simple application, but also some file manipulation
- 2022-03-21 04:00:48下载
- 积分:1
-
应用vc编写的数据库管理程序
应用vc编写的数据库管理程序-prepared by the database management procedures
- 2022-01-22 00:17:10下载
- 积分:1
-
石头剪子布的游戏,六个文件组成适合初学者
石头剪子布的游戏,六个文件组成适合初学者-rock scissors cloth games, six files for beginners
- 2022-01-25 18:19:36下载
- 积分:1
-
将Canon相机拍照后自动存放到本地机器的照片,按照学工号重新命名后,保存到DB2数据库中,...
将Canon相机拍照后自动存放到本地机器的照片,按照学工号重新命名后,保存到DB2数据库中,-Canon cameras will take pictures automatically deposited to the local machine photographs, according Xuegong, re-named after the preservation of the DB2 database,
- 2022-06-18 08:00:04下载
- 积分:1
-
黑白棋(othello)示例算法,TC实现,提供交互界面功能
黑白棋(othello)示例算法,TC实现,提供交互界面功能-reversi (othello) algorithm for example, TC achieved, providing interface function
- 2022-07-06 17:31:26下载
- 积分:1