-
超市
模拟顾客到超市选购,退货,买帐等的流程.-supermaket
- 2022-06-29 01:49:40下载
- 积分:1
-
该程序是用于说明当main主函数运行结束后,若需要运行其他函数时所采用的处理方式...
该程序是用于说明当main主函数运行结束后,若需要运行其他函数时所采用的处理方式-The program is used to indicate when the main function to run after the end of the main, if the need to run the other functions used in the treatment of
- 2022-06-12 08:56:35下载
- 积分: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
-
using the ppt to know how the artificial algorithm ANN works well
using the ppt to know how the artificial algorithm ANN works well -using the ppt to know how the artificial algorithm ANN works well
- 2023-05-02 22:25:03下载
- 积分:1
-
在 c + + 类库管理项目
在 c + + 类库管理项目。在这个程序中,您可以输入的书详情及学生详细信息。你也可以发出和归还的书,和如果这本书没有按时归还征收罚款。没有密码。没有调查问卷。
- 2023-04-06 10:00:04下载
- 积分:1
-
优秀论文(基于非线性的雷达目标识别中的若干问题…
几篇有关雷达目标识别的优秀论文(基于非线性方法的雷达目标识别研究.NH基于高分辨距离像的雷达目标识别.NH雷达目标识别系统的研究和设计.KDH).part3-Several of the radar target recognition of outstanding paper (based on nonlinear methods of study of radar target recognition. NH HRRP-based radar target identification. NH radar target identification system research and design. KDH). Part3
- 2022-01-26 03:40:46下载
- 积分:1
-
First show that I did not go, I feel good, it made up.
先说明,不是我走的,觉得不错,所以发上来.-First show that I did not go, I feel good, it made up.
- 2022-01-22 08:26:24下载
- 积分:1
-
一个结合了mfc/winsock/多线程等技术实现的聊天程序,只有聊天功能,但是用于广泛,主要适用了tcp链接,udp打洞技术....
一个结合了mfc/winsock/多线程等技术实现的聊天程序,只有聊天功能,但是用于广泛,主要适用了tcp链接,udp打洞技术.-A combination of mfc/winsock/multi-threading technology to achieve a chat program, and only chat, but for a wide range, mainly applicable to the tcp link, udp holes technology.
- 2022-05-31 10:13:19下载
- 积分:1
-
win8平板调用摄像头工具
win8平板很牛叉的调用摄像头的库,通过.net调用COM库实现的,之前通过avicap.dll库,SendMessage方式都行不通的方式用这种方式能成功。
namespace AForge.Controls
{
using AForge.Video;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
public class VideoSourcePlayer : Control
{
private bool autosize;
private Color borderColor = Color.Black;
private IContainer components;
private Bitmap currentFrame;
private bool firstFrameNotProcessed = true;
- 2022-04-23 12:39:10下载
- 积分:1
-
copy命令C源程序,VC6.0与GCC上调试通过!
copy命令C源程序,VC6.0与GCC上调试通过!-copy command C source, VC6.0 with GCC debug through!
- 2023-05-24 18:35:04下载
- 积分:1