自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

原创 作业:19数据结构邻接表的广度和深度遍历

提示:该blog仅为完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码/** * Adjacency list for directed graph. * * @author Fan Min minfanphd@163.com. */#include <stdio.h>#include <malloc.h>#define QUEUE_SIZE 10/*************** Copied code begins **************.

2022-05-31 15:51:59 140

原创 作业:18数据结构图的遍历

提示:该blog仅为完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码#include <stdio.h>#include <malloc.h>#define QUEUE_SIZE 10int* visitedPtr;/** * A queue with a number of indices. */typedef struct GraphNodeQueue{ int* nodes; int front; int rear;}GraphN.

2022-05-31 15:48:21 123

原创 作业:17N皇后问题

提示:该blog仅为完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码#include <stdio.h>#include <malloc.h>#include <math.h>/** * Place it there, applicable? */bool place(int* paraSolution, int paraT){ int j; for (j = 1; j < paraT; j ++){ if.

2022-05-29 08:35:39 155

原创 小组作业:糖尿病预测

提示:该Blog仅用于作业汇报展示,大佬请绕路文章目录一、项目介绍二、数据处理三、数据分析四、特征选择五、模型训练六、模型优化七、项目总结一、项目介绍本项目主要依托某医院处理之后的体检数据,首先进行了数据的描述性统计。后续针对数据的特征进行特征选择(三种方法),选出与性别、年龄等预测相关度最高的几个属性值。此后选择Logistic回归、支持向量机和XGBoost三种机器学习模型,将选择好的属性值输入对糖尿病风险预警模型进行训练,并运用F1-Score、AUC值等方法进行预警模型的分析评价。最后.

2022-05-28 09:41:21 2211 10

原创 作业:16数据结构哈夫曼树

提示:该Blog仅为完成作业,大佬请绕路文章目录老师某学生的代码我的代码老师某学生的代码#include <iostream>#include <fstream>#include <string.h>using namespace std; #define MaxSize 1024 // 读入文件的上限 #define OK 1#define ERROR 0typedef int Status;typedef struct wordcn.

2022-05-27 20:43:47 109

原创 作业:15数据结构二叉树

提示:该blog仅为完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码#include <stdio.h>#include <malloc.h>#define QUEUE_SIZE 5/** * Binary tree node. */typedef struct BTNode{ char element; BTNode* left; BTNode* right;}BTNode, *BTNodePtr;/** * A queue wit.

2022-05-24 18:42:21 84

原创 作业:14矩阵的乘法

提示:此blog仅为完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码#include <stdio.h>#include <malloc.h>#include <stdlib.h>#define ROWS 4#define COLUMNS 5/** * Two dimensional array. */typedef struct TwoDArray{ int rows; int columns; int** elements.

2022-05-19 20:08:13 74

原创 作业:13数据结构压缩矩阵的转置

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录老师的代码我的代码老师的代码#include <stdio.h>#include <malloc.h>typedef int elem;/** * A triple for row index, column index, and data. */typedef struct Triple{ int i; int j; elem e;} Triple, *Tr.

2022-05-19 20:02:20 172

原创 作业:12数据结构链式队列

提示:该blog仅为完成作业,大佬请绕路文章目录老师代码我的代码老师代码#include <stdio.h>#include <malloc.h>/** * 链队列的节点. */typedef struct LinkNode{ int data; LinkNode* next;}*LinkNodePtr;/** * 链队列. */typedef struct LinkQueue{ LinkNodePtr front; LinkNodePtr.

2022-05-17 08:24:51 57

原创 作业:11数据结构循环队列

提示:该blog仅为完成作业,大佬请绕路文章目录老师代码我的代码老师代码#include <stdio.h>#include <malloc.h>#define TOTAL_SPACE 5/** * Circle int queue. */typedef struct CircleIntQueue{ int data[TOTAL_SPACE]; int head; int tail;}*CircleIntQueuePtr;/** * In.

2022-05-17 08:21:53 67

原创 作业:10汉诺塔

提示:该blog仅为了完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码#include <stdio.h>/** * Hanoi. */void hanoi(int paraN, char paraSource, char paraDestination, char paraTransit) { if (paraN <= 0) { return; } else { hanoi(paraN - 1, paraSource, paraTransit, .

2022-05-12 08:04:52 84

原创 作业:09递归实现累加

提示:该blog请用于完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码#include <stdio.h>/** * Recursive addition. */int addTo(int paraN) { int tempSum; printf("entering addTo(%d)\r\n", paraN); if (paraN <= 0) { printf(" return 0\r\n"); return 0; } else { te.

2022-05-12 08:00:47 233

原创 作业:08数据结构表达式求值

提示:该blog仅为完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码//202031061018 刘知鑫#include <iostream>#include <cstring>#include <algorithm>#include <stack>#include <unordered_map>using namespace std;stack<int> num;stack<char&gt.

2022-05-10 18:49:41 615

原创 作业:07数据结构括号匹配

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录老师的代码我的代码老师的代码#include <stdio.h>#include <malloc.h>#define STACK_MAX_SIZE 10/** * Linear stack of integers. The key is data. */typedef struct CharStack { int top; int data[STACK_MAX_SIZ.

2022-05-10 18:44:26 62

原创 作业:06数据结构栈

提示:该blog仅为完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码#include <stdio.h>#include <malloc.h>#define STACK_MAX_SIZE 10/** * Linear stack of integers. The key is data. */typedef struct CharStack { int top; int data[STACK_MAX_SIZE]; //The ma.

2022-05-10 18:42:01 209

原创 作业:05数据结构多项式求和

提示:该blog仅为完成作业,大佬请绕路文章目录老师的代码我的代码老师的代码#include <stdio.h>#include <malloc.h>/** * Linked list of integers. The key is data. The key is sorted in non-descending order. */typedef struct LinkNode{ int coefficient; int exponent; struc.

2022-05-07 19:52:27 572

原创 作业:04数据结构双向链表

提示:该blog仅为完成作业,大佬请绕路文章目录我的代码老师的代码我的代码// d_list.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include <iostream>#include <stdio.h>#include <stdlib.h> struct _d_list{ int data; struct _d_list *pre; struct _d_list *next;}; type.

2022-05-03 18:45:41 494

原创 作业:03数据结构静态链表

提示:该文章仅为完成作业,大佬请绕路文章目录前言我的代码老师的代码前言提示:这里可以添加本文要记录的大概内容:例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。我的代码#include <stdio.h>#define maxSize 6typedef struct { int data; int cur;}component;void InitArr(component *arra.

2022-05-03 18:40:39 1303

原创 作业:02数据结构链表

提示:该blog仅提供给老师检查作业文章目录1、我的代码2、老师的代码1、我的代码#include "stdio.h" #include "stdlib.h" //提供malloc()和free()#include "string.h" //提供strcpy()等struct Node{ int a; //数据域 struct Node* next; //指针域(指向节点的指针)};struct Node* head= NULL;struct N.

2022-04-29 11:52:43 87

原创 作业:01数据结构顺序表

提示:该博客仅为完成作业而写,大佬请绕路

2022-04-25 22:25:56 1681 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除