-
二叉树的最短路径
二叉树的最短路径-binary tree is the shortest path
- 2022-04-15 11:05:58下载
- 积分:1
-
线索化二叉树的源程序
线索化二叉树的源程序-clues to the source of Binary Tree
- 2022-02-14 18:04:51下载
- 积分:1
-
链表的基本操作
#include
#include
#define LEN sizeof(struct student)
/*----------------数据定义----------------------*/
//定义一个学生信息的结构体,包括学号,姓名和结构体类型的指针
struct student
{
long num; //学号
char name[128]; //姓名
struct student *next; //结构体指针
};
typedef struct student * stuNode;
int n=0; //全局变量,记录链表的长度
/*---------------函数声明---------------------*/
stuNode Create(); //创建一个新的链表 &nbs
- 2022-03-11 02:44:17下载
- 积分:1
-
Softmax分类器进行遥感图像分类
资源描述利用Softmax实现对于IndianaPines遥感图像数据进行分类的代码和实验结果。在使用中用到了一个MinFun的函数库,需要将该库函数放置到.m所在文件夹即可运行。Softmax是Logestic分类器的推广,用于处理多分类问题,其基本思想是将一类和其他所有类划分开来,然后迭代进行,逐渐完成多分类问题。
- 2022-12-03 13:15:03下载
- 积分:1
-
原标题:1。有五五种颜色的房子。每一个大师…
原题为:
1.有5栋5种颜色的房子
2.每一位房子的主人国籍都不同
3.这五个人每人只喝一个牌子的饮料,只抽一个牌子的香烟,只养一种宠物
4.没有人有相同的宠物,抽相同牌子的烟,喝相同牌子的饮料
已知条件:
1.英国人住在红房子里
2.瑞典人养了一条狗
3.丹麦人喝茶
4.绿房子在白房子的左边
5.绿房子主人喝咖啡
6.抽pallmall烟的人养了一只鸟
7.黄房子主人抽dunhill烟
8.住在中间房子的人喝牛奶
9.挪威人住在第一间房子
10.抽混合烟的人住在养猫人的旁边
11.养马人住在抽dunhill烟人的旁边
12.抽bluemaster烟的人喝啤酒
13.德国人抽prince烟
14.挪威人住在蓝房子旁边
15.抽混合烟的人的邻居喝矿泉水
问题:谁养鱼?
这道迷题出自1981年柏林的德国逻辑思考学院。
据说世界上只有2%的人能出答案。
就连大名鼎鼎的爱因斯坦也成为此题大伤脑筋。-original entitled : 1. Have five five colors of the two houses. Each a master of the house three different nationality. Each of these five individuals only drink one brand of beverages, just the one brand of cigarettes, only raised a pet 4. No one has the same pet, and pumping the same brand of cigarettes, drink the same brand of beverages known conditions : 1. Britons living in Red House Lane 2. Swede custody of a dog 3. Denmark tea 4. Green house at the White house left five. Green coffee house owner 6. Pallmall pumpin
- 2022-01-25 21:34:47下载
- 积分:1
-
基于VC6.0的蚁群算法实现TSP问题
资源描述该程序是以蚁群系统为模型写的蚁群算法程序(强调:非蚂蚁周模型),以三个著名的TSP问题为测试对象,通过微调参数,都可以获得较好的解
- 2022-08-25 18:03:15下载
- 积分:1
-
C#计算器
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Runtime.InteropServices;
using System.IO;
namespace 计算器
{
///
/// Form1 的摘要说明。
///
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Button button11;
private System.Windows.For
- 2023-01-30 17:15:03下载
- 积分:1
-
SIMPSON ALGORITHM
从A到B近似I=积分((F(X)DX)):
- 2022-10-06 21:15:03下载
- 积分:1
-
航空管理系统
采用C#语言编写并设计了相应的界面,分为用户和管理员两种权限登录,管理员实现了增加删除和修改航线、航班信息等功能,用户实现了订票退票及查询航线等功能
- 2022-01-25 19:35:54下载
- 积分:1
-
求解对角线元素很小的矩阵的逆矩阵,避免一般求逆的溢出问题,用Fortran编写...
求解对角线元素很小的矩阵的逆矩阵,避免一般求逆的溢出问题,用Fortran编写-small diagonal elements of the matrix inverse matrix inversion generally avoid the overflow problems, Fortran prepared
- 2022-07-13 06:23:04下载
- 积分:1