-
ObjectARx实例学习
ObjectARx实例学习-ObjectARx
- 2022-02-22 01:48:18下载
- 积分:1
-
java开发的俄罗斯方块
用纯java开发的对对碰游戏,用eclipse开发出来的,运行项目JFrame窗口打开,在window系统中运行,方块掉下来的时候可以变换方块方位,当某一横行被方块填满时消除,得分,里面包含完整代码
- 2022-06-29 10:24:51下载
- 积分:1
-
手机测试小东西,希望大家批评指正,我是学VC和C++的,还有JAVA...
手机测试小东西,希望大家批评指正,我是学VC和C++的,还有JAVA-handset testing small things that we corrected criticism, I study the VC and C, JAVA
- 2022-02-03 08:42:07下载
- 积分:1
-
BoardCast message to network using Winsock. It has 2 programs. One for Server an...
BoardCast message to network using Winsock. It has 2 programs. One for Server and another for clients. Comments/Suggestions are welcome at skc@doi.com.np
- 2022-03-01 03:27:51下载
- 积分:1
-
将一个html文件转换成txt文件,不知道可不可以用,呵呵。
将一个html文件转换成txt文件,不知道可不可以用,呵呵。-Convert a html file to a text file.
- 2022-03-23 05:13:16下载
- 积分:1
-
算法实现题2
算法实现题2-9 排列的字典序问题
« 问题描述:
n个元素{1,2, , n }有n!个不同的排列。将这n!个排列按字典序排列,并编号为0,1,…,
n!-1。每个排列的编号为其字典序值。例如,当n=3时,6 个不同排列的字典序值如下:
字典序值 0 1 2 3 4 5
排列 123 132 213 231 312 321
« 编程任务:
给定n 以及n 个元素{1,2, , n }的一个排列,计算出这个排列的字典序值,以及按字
典序排列的下一个排列。
« 数据输入:
由文件input.txt提供输入数据。文件的第1 行是元素个数n。接下来的1 行是n个元素
{1,2, , n }的一个排列。
« 结果输出:
程序运行结束时,将计算出的排列的字典序值和按字典序排列的下一个排列输出到文件
output.txt中。文件的第一行是字典序值,第2行是按字典序排列的下一个排列。
输入文件示例 输出文件示例
input.txt output.txt
8
2 6 4 5 8 1 7 3
8227
2 6 4 5 8 3 1 7
- 2022-02-12 05:10:54下载
- 积分:1
-
uniscan for automotive diag
uniscan for automotive diag
- 2022-02-25 22:12:48下载
- 积分:1
-
Taiwan students to write an algorithm for solving the ant problem tsp
台湾的一个学生写的 蚁群算法解决tsp问题-Taiwan students to write an algorithm for solving the ant problem tsp
- 2022-02-02 00:58:19下载
- 积分:1
-
基于Windows Mobile平台的IrDA红外通信范例
基于Windows Mobile平台的IrDA红外通信范例-Based on the Windows Mobile platform, IrDA infrared communications paradigm
- 2023-06-24 15:10:03下载
- 积分:1
-
wince下接收串口数据,通过socket转发到pc,包含客户端和服务器
wince下接收串口数据,通过socket转发到pc,包含客户端和服务器-wince to receive serial data through the socket forwarded to the pc, contains the client and server
- 2022-03-02 13:08:17下载
- 积分:1