-
用java语言实现策略模式
BubbleSort.java――冒泡排序算法
ChooseSort.java――选择排序算法
InsertSort.j...
用java语言实现策略模式
BubbleSort.java――冒泡排序算法
ChooseSort.java――选择排序算法
InsertSort.java――插入排序算法
MergeSort.java――合并排序算法
SortStrategy.java――排序算法的接口
Sort.java――排序类,通过此类的sort()可以对实现了Comparable接口的数组进行升序
SortMain.java――显示界面排序-Using java language model to achieve the strategy BubbleSort.java-- Bubble Sort algorithm ChooseSort.java-- choice of sorting algorithm InsertSort.java-- Insertion Sort algorithm MergeSort.java-- merge sorting algorithm SortStrategy.java-- sort of the interface algorithm Sort. java- Sort category by such sort () can be achieved for an array of Comparable interface ascending SortMain.java-- Display order
- 2023-07-31 08:20:03下载
- 积分:1
-
基于二叉树的图最有路径算法,在图能转化到二叉树表示时,可求解...
基于二叉树的图最有路径算法,在图能转化到二叉树表示时,可求解-the best path based on binary tree
- 2023-06-27 16:15:03下载
- 积分:1
-
本源码为图书管理系统,实现了密码登陆管理,图书基本信息的录入、修改、删除、查询,读者基本信息的录入、修改、删除、查询,实现了自动从系统取得借书时间,自动生成还原...
本源码为图书管理系统,实现了密码登陆管理,图书基本信息的录入、修改、删除、查询,读者基本信息的录入、修改、删除、查询,实现了自动从系统取得借书时间,自动生成还原时间,和自动对超期信息的统计-source for the library management system and realized the landing password management, basic information on the book entry, modification, deletion, inquiries, readers basic information on the entry, modification, deletion, inquiries, and realized from the system automatically library, automatic generation reduction, and automatic extended to the statistical information
- 2023-08-03 13:25:04下载
- 积分:1
-
在编译、运行程序之前,请将所附的数据库文件rms.mdb导入SQL server中,并将此数据库命名为RMS。具体操作步骤可以参见书中这一章的相关小节。若没有安...
在编译、运行程序之前,请将所附的数据库文件rms.mdb导入SQL server中,并将此数据库命名为RMS。具体操作步骤可以参见书中这一章的相关小节。若没有安装SQL server,也可以直接在控制面板中将此数据库文件设置为数据源,并命名为MyDS。注意,若数据库没有安装成功,MS Visual Studio在打开工程文件的时候将会报错,但忽略之后不影响程序的正常编译。-In the compiler, before running the program, please rms.mdb attached database file into SQL server and will be named this database RMS. Specific steps can see the relevance of the book section of this chapter. If not install SQL server, can also be directly in the control panel in this database file is set to the data source named MyDS. Note that if the databases are not installed successfully, MS Visual Studio project file in the open when the error will be, but do not overlook the impact of following the normal procedures for compiling.
- 2022-01-26 03:33:39下载
- 积分:1
-
jmessage板系统
JMessage Board System-JMessage Board System...
- 2023-09-09 01:55:03下载
- 积分:1
-
图书管理程序,b
图书管理程序,b-tree,c++语言完成。程序非常的棒-library management procedures, b-tree, c complete language. Procedures for the wand! !
- 2022-08-21 03:02:17下载
- 积分:1
-
数据结构中的顺序表操作。如插入,删除等!
数据结构中的顺序表操作。如插入,删除等!-Data structure in the order table operation. Such as insert, delete and so on!
- 2023-08-21 05:15:03下载
- 积分:1
-
精心链表操作,对单向双向的链表操用实例,精当
精心链表操作,对单向双向的链表操用实例,精当-carefully chain operation, a one-way pairs two-way linked list speaks examples of elder
- 2022-05-31 19:36:09下载
- 积分:1
-
triallkfjnklgnjfkljngfklnjlkfnflkfg
- 2023-08-19 20:55:03下载
- 积分:1
-
err
魔王语言解释
[问题描述]
有一个魔王总是使用自己的一种非常精练而又抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的:
(1) α 转换为 β1β2…βm
(2) (θδ1δ2…δn) 转换为 θδnθδn-1… θδ1θ
在这两种形式重,从左到右均表示解释。试写一个魔王语言的解释兄,把他的话解释成人能听得懂的话。
[基本要求]
用下述两条具体规则和上述规则形式(2)实现。设大写字母表示魔王语言的词汇;小写字母表示人的语言词汇;希腊字母表示可以用大写字母或小写字母代换的变量。魔王语言可含人的词汇。
(1)B 转换为 tAdA
(2)A 转换为 sae
[测试数据]
B(exnxgz)B解释成tsaedsaeezegexenehetsaedsae
若将小写字母与汉字建立下表所示的对应关系,则魔王说的话是:“天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一直鹅地上一只鹅”。
t d s a e z g x n h
天 地 上 一只 鹅 追 赶 下 蛋 恨
-err
- 2022-04-09 12:10:23下载
- 积分:1