chenxi16

导航

2020年4月1日 #

数据结构-1 03-树1 树的同构

摘要: 1 #include<stdio.h> 2 struct node{ 3 char data; 4 int left,right; 5 }; 6 struct node a[11],b[11]; 7 int Na,Nb,ra,rb,flag; 8 int read(struct node a[],i 阅读全文

posted @ 2020-04-01 12:28 chenxi16 阅读(180) 评论(0) 推荐(0) 编辑

数据结构 02-线性结构4 Pop Sequence

摘要: 刚开始拿到这道题的时候错误的做法: 1 //相邻之间的数小于等于M 2 //首先弹出来的数小于等于M 3 #include<stdio.h> 4 #include<math.h> 5 #define MAXN = 1000000; 6 int M,N,K; 7 int main(){ 8 int p 阅读全文

posted @ 2020-04-01 10:19 chenxi16 阅读(137) 评论(0) 推荐(0) 编辑

2020年3月31日 #

数据结构-1 02-线性结构3 Reversing Linked List

摘要: 1 #include<stdio.h> 2 #define MAXN 100000 3 struct node{ 4 int data,next; 5 int nextr; 6 }; 7 struct node a[MAXN]; 8 int n,k,start,startr; 9 void read 阅读全文

posted @ 2020-03-31 23:18 chenxi16 阅读(99) 评论(0) 推荐(0) 编辑

数据结构-1 02-线性结构2 一元多项式的乘法与加法运算

摘要: 1 #include<stdio.h> 2 #define MAXN 2010 3 struct poly{ 4 int exp,var; 5 }; 6 struct poly a[MAXN],b[MAXN],c[MAXN]; 7 void read(struct poly a[]); 8 void 阅读全文

posted @ 2020-03-31 17:35 chenxi16 阅读(197) 评论(0) 推荐(0) 编辑

2020年3月30日 #

数据结构-1 二叉搜索树的操作集

摘要: BinTree Insert( BinTree BST, ElementType X ){ if(BST==NULL){ BST = (BinTree)malloc(sizeof(struct TNode)); BST->Left = NULL; BST->Right = NULL; BST->Da 阅读全文

posted @ 2020-03-30 21:04 chenxi16 阅读(306) 评论(0) 推荐(0) 编辑

数据结构-1 带头结点的链表合并

摘要: List Merge( List L1, List L2 ){ struct Node *h,*p,*l1,*l2; h = (struct Node*)malloc(sizeof(struct Node)); h->Next = NULL; p = h; l1 = L1->Next; l2 = L 阅读全文

posted @ 2020-03-30 18:31 chenxi16 阅读(181) 评论(0) 推荐(0) 编辑

2020年3月26日 #

VB.net使用时的一些记录笔记

摘要: 画图(在picturebox中进行绘制图像) 图形:一般是指图绘形象,描述物体的轮廓、形状或外部的界限,如几何图形。 .NET framework 类库提供了GDI+(Graphics Device Interface)进行绘图。 (1)默认左上角为坐标原点,向下为Y轴正向,向右为X轴正向。 坐标点 阅读全文

posted @ 2020-03-26 10:34 chenxi16 阅读(188) 评论(0) 推荐(0) 编辑

2020年3月6日 #

矩阵的计算

摘要: 1.定义 由m×n 个数aij(i=1,2,…,m;j=1,2,…,n)排成m行n列的数表 a11 a12 …a1n a21 a22… a2n … … … … am1 am2… amn ,称为m行n列矩阵,简称m×n矩阵。 2.只有一行的矩阵称为行矩阵,又称行向量;只有一列的矩阵称为列矩阵,又称列向 阅读全文

posted @ 2020-03-06 20:33 chenxi16 阅读(2667) 评论(0) 推荐(0) 编辑

tf2-记录2

摘要: 1. tensorboard 用anaconda 启动,在prompt 中首先进入环境 activate 环境名 然后,进入日志所在文件夹 接着输入 tensorboard --logdir=日志所在目录 最后,在浏览器中输入localhost:端口号,同时这也是上一步输入完命令后的提示打开的网址, 阅读全文

posted @ 2020-03-06 19:55 chenxi16 阅读(98) 评论(0) 推荐(0) 编辑

2020年3月5日 #

tensorflow2.0 学习-记录1

摘要: #tf2.0 运行 tf1.x 版本代码import tensorflow.compat.v1 as tftf.disable_v2_behavior() tf.disable_eager_execution() 阅读全文

posted @ 2020-03-05 19:52 chenxi16 阅读(135) 评论(0) 推荐(0) 编辑