摘要: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
阅读全文
摘要: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
阅读全文
摘要:BinTree Insert( BinTree BST, ElementType X ){ if(BST==NULL){ BST = (BinTree)malloc(sizeof(struct TNode)); BST->Left = NULL; BST->Right = NULL; BST->Da
阅读全文
摘要: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
阅读全文
摘要:画图(在picturebox中进行绘制图像) 图形:一般是指图绘形象,描述物体的轮廓、形状或外部的界限,如几何图形。 .NET framework 类库提供了GDI+(Graphics Device Interface)进行绘图。 (1)默认左上角为坐标原点,向下为Y轴正向,向右为X轴正向。 坐标点
阅读全文
摘要: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.只有一行的矩阵称为行矩阵,又称行向量;只有一列的矩阵称为列矩阵,又称列向
阅读全文
摘要:1. tensorboard 用anaconda 启动,在prompt 中首先进入环境 activate 环境名 然后,进入日志所在文件夹 接着输入 tensorboard --logdir=日志所在目录 最后,在浏览器中输入localhost:端口号,同时这也是上一步输入完命令后的提示打开的网址,
阅读全文
摘要:#tf2.0 运行 tf1.x 版本代码import tensorflow.compat.v1 as tftf.disable_v2_behavior() tf.disable_eager_execution()
阅读全文