xjsc01
xjsc01
全部文章
分类
# ACM进阶训练(进阶)(3)
# CodeForce(3)
# NOJ题解(11)
# 堆栈队列单调栈(23)
# 数据结构的实现(4)
# 数据结构课后思考题(5)
# 算法竞赛进阶指南(ACM培训)(30)
ACM(1)
c++(1)
题解(3)
归档
标签
去牛客网
登录
/
注册
xjsc01的博客
全部文章
(共84篇)
循环队列(严3.30)--------西工大NOJ习题.9
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> typedef struct _Queue { int max_size; int rear; int ...
2022-10-06
0
0
以三元组表为存储结构实现矩阵相加(耿5.7)----------西工大 noj
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct _Triple { int i; ...
2022-10-06
0
0
负数 的 极坐标 与 角度 转化
直接编译运行即可 #include <bits/stdc++.h> using namespace std; #define PI 3.14159265 void menu() { printf("******** 转化器 ************\n&...
2022-10-06
0
0
以十字链表为存储结构实现矩阵相加(严5.27)--------西工大noj
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> typedef int ElemType; typedef struct Node { int row, col; ...
2022-10-06
0
0
求广义表深度(严5.30)--------西工大noj
#include <stdio.h> #include <stdlib.h> #include <string.h> typedef enum{ATOM, LIST}ElemType; typedef struct GLNode{ ElemType ...
2022-10-06
0
0
数据结构————哈夫曼树的实现
效果图: 代码: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { int first;//表示pair对中的第一关键字 ...
2022-10-06
0
0
建立二叉树的二叉链表存储结构(严6.70)--------西工大noj
#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct TreeNode { char data; struct TreeNode *LChild, ...
2022-10-06
0
0
建立二叉树的二叉链表(严6.65)--------西工大noj
需要注意的点:在创建二叉树的函数中,如果len1==len2==0,一定要把(*T)置为NULL然后退出循环 #include <stdio.h> #include <stdlib.h> #include <string.h> typedef stru...
2022-10-06
0
0
输出以二叉树表示的算术表达式(严6.51)--------西工大noj
题解 这道题目说的很诡异,其实没有什么把括号补上。。。。仅仅是先序读入,然后中序输出就行了 代码 #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct TreeN...
2022-10-06
0
0
基于图的深度优先搜索策略(耿7.10)--------西工大noj
代码 代码 #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct ArcNode{ int to; struct ArcNode *ne...
2022-10-06
0
0
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页