IDEA操作 快捷方式 psvm(main方法的快捷方式); sout(输出语句的快捷方式); 优化设置 启动 File-->>Setting 关闭自动更新:updates-->>取消勾选的Automatic······; 修改代码字体大小:Font‘ 创建空项目 File-->>Empty pro ...
分类:
其他好文 时间:
2020-06-14 18:23:04
阅读次数:
58
#多边形面积 改革春风吹满地 #include<bits/stdc++.h> using namespace std; struct point { double x,y; }node[10001]; double cosr(point a,point b,point c) { return (a. ...
分类:
其他好文 时间:
2020-06-14 16:51:40
阅读次数:
47
1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<malloc.h> 4 5 typedef struct Node//结构体 6 { 7 char data; 8 struct Node *LChild; 9 struct Node *RChi ...
分类:
其他好文 时间:
2020-06-14 16:27:40
阅读次数:
221
思维导图 算法小结 1. 邻接矩阵存储 1 #define MVNum 100 //最大顶点数 2 typedef char VerTexType;//假设顶点的数据类型为字符型 3 typedef int ArcType;//假设边的权值类型为整型 4 5 typedef struct 6 { 7 ...
分类:
其他好文 时间:
2020-06-14 11:08:49
阅读次数:
152
Intellij IDEA真是越用越觉得它强大,它总是在我们写代码的时候,不时给我们来个小惊喜。我决定把一些好用的Intellij IDEA技巧分享给大家。介绍一些你可能不知道的但是又实用的小技巧。
分类:
其他好文 时间:
2020-06-14 11:00:21
阅读次数:
70
插入与删除: #include <stdio.h> #define MaxSize 10 typedef struct { int data[MaxSize]; int length; }SqList; bool ListInsert(SqList &L, int i, int e) { if (i ...
分类:
其他好文 时间:
2020-06-14 10:48:53
阅读次数:
63
ES5继承 function Person(name, age) { this.name = name; this.age = age; } Person.prototype.sayName = function () { alert(`My name is ${this.name}.`); ret ...
分类:
Web程序 时间:
2020-06-14 10:29:21
阅读次数:
57
顺序表 线性表的第一个儿子 这个儿子的结构体定义: typedef int ElemType;//取别名 typedef struct link{ ElemType * head;//head是一个数组指针,不太清楚的同学,可以百度一下 ElemType length; ElemType size; ...
分类:
编程语言 时间:
2020-06-14 01:23:40
阅读次数:
81
思路 首先建立结构体,将结构化文档存储起来,并记录节点的父节点索引。 struct css { string name; int parent; string id; css() {} css(string name,int parent,string id) { this->name = name ...
分类:
其他好文 时间:
2020-06-14 01:16:47
阅读次数:
58
1 #include <stdio.h> 2 #include <malloc.h> 3 typedef struct lianbiao *ptr; 4 struct lianbiao 5 { 6 int data; 7 ptr next; 8 }; 9 10 int main(void) 11 { ...
分类:
其他好文 时间:
2020-06-14 01:00:09
阅读次数:
64