-
诱骗态程序
根据给定的实验系统的参数,对采用诱骗态方案的BB84系统进行仿真,得到在不同光纤传输距离下,系统安全密钥生成率R(According to the parameters of the experimental system, the BB84 system with decoy scheme is simulated, and the system security key generation rate R is obtained under different fiber transmission distance)
- 2017-07-08 10:49:45下载
- 积分:1
-
回溯法求砝码称重问题
编写c++代码。使用回溯法求解砝码称重问题,代码稍微修改也可用于求解0-1背包问题
问题描述:有n个砝码,现在要称一个质量为m的物体,请问最少需要挑出几个砝码来称?注意一个砝码最多只能挑一次
输入描述 Input Description:第一行两个整数n和m,接下来n行每行一个整数表示每个砝码的重量。
输出描述 Output Description:输出选择的砝码的总数k,你的程序必须使得k尽量的小。
样例输入 Sample Input
3 10
5
9
1
样例输出 Sample Output
2
- 2022-08-05 17:01:05下载
- 积分:1
-
C_matlab
本文档介绍了如何在c++环境下调用MATLAB(This document describes how to call c++ environment MATLAB)
- 2010-11-28 16:22:16下载
- 积分:1
-
cplay
一个用C++编写的简单的播放器代码,交流交流,希望有用(Using C++ written a simple player code, exchange of communication, I hope be useful)
- 2010-06-22 15:35:15下载
- 积分:1
-
16位rle(压缩bmp文件)压缩算法源码 (Dos, 16KB)
压缩编码有点用,看看吧(coding using a bit, and let's see it)
- 2004-10-29 09:30:27下载
- 积分:1
-
MatrixAndComplex_C++
说明: 矩阵、复数自定义数据类型的C++实现。矩阵求逆采用牛顿法。(matrices, the plural-defined data types in C to achieve. Matrix inversion using Newton's law.)
- 2006-04-18 10:18:19下载
- 积分:1
-
FlexRay_Header_CRC_cal
这是关于FlexRay总线网络设计过程中,计算每个网络节点的数据帧头部循环校验码的程序。计算结果在控制台下显示为一个二进制数组。(This is a project completed on Visual C++ 6.0, which could be used for calculation of the header CRC code of each node in a FlexRay network. The results are displayed as an array of binary number in the console platform.)
- 2020-12-21 10:09:08下载
- 积分:1
-
boost spirit 的实现代码
boost 的spirit实现,可以将字符串动态绑定至函数调用用,用起来非常方便
- 2022-02-03 18:54:19下载
- 积分:1
-
RT-PID
PID-REGULATOR FUNCTION "C" SOURCE CODE
- 2008-10-05 00:55:10下载
- 积分:1
-
c-tanchishe-game
运用C环境编写的贪吃蛇小游戏程序,源码文件内包括重点语句注释(Environment using C program prepared by the Snake game, the focus of the source file includes the statement notes)
- 2013-11-30 09:58:07下载
- 积分:1