#include <stdio.h> #include <stdlib.h> typedef char ElemType; typedef struct BiNode{//二叉树 ElemType data; struct BiNode *lchild,*rchlid; }BiNode,*BiTre ...
分类:
编程语言 时间:
2020-07-04 01:05:11
阅读次数:
74
#include<stdio.h> #define MaxSize 10 typedef char ElemType; typedef struct { ElemType data[MaxSize]; int top; }SList; void InitSList(SList &S) { S.top ...
分类:
其他好文 时间:
2020-07-03 23:05:20
阅读次数:
45
type InputStructure struct { Content string `form:"content" binding:"required,len=2"` Age int `form:"age" binding:"max=10,min=1"` Pass string `form:"p ...
分类:
其他好文 时间:
2020-07-03 19:33:43
阅读次数:
61
题目地址 简单的贪心,POJ不能用C11,硬是把C11的特性改回来了 代码 #include <algorithm> #include <iostream> #include <vector> using namespace std; const int INF = 1e9; struct node ...
分类:
其他好文 时间:
2020-07-03 00:43:01
阅读次数:
63
值类型:struct、enumeration、int、float、char、bool、decimal 引用类型:class,delegate,interface,array,object,string 装箱:把值类型转换成引用类型 拆箱:把引用类型转换成值类型 隐式转换:隐式转换无需人为多余声明,机 ...
课程学习总结报告 Linux之进程 概述:进程是Linux进行资源分配和调度的基本单位,进程也被看做是程序的一次执行过程,当持久化在磁盘上的二进制代码被载入内存时,Linux操作系统为其分配了用户栈和内核栈,同时使用task_struct这种数据结构对进程进行描述,task_struct是Linux ...
分类:
其他好文 时间:
2020-07-02 18:09:32
阅读次数:
66
package main import( "database/sql" "fmt" _ "github.com/go-sql-driver/mysql" "bytes" "encoding/json" "io/ioutil" "net/http" "time" ) type User struct{ ...
分类:
其他好文 时间:
2020-07-02 16:43:00
阅读次数:
48
#include<cstdio> const int maxn=100005; int p; typedef long long int ll; int n,q,m; ll a[maxn]; struct Node { ll tag1,tag2,v; int l,r; Node *ls,*rs; i ...
分类:
其他好文 时间:
2020-07-01 16:01:57
阅读次数:
53
122 where T : struct The type argument must be a value type. Any value type except Nullable can be specified. See Using Nullable Types (C# Programming ...
分类:
其他好文 时间:
2020-07-01 09:48:21
阅读次数:
65
用法 https://juejin.im/post/5ef6eed9f265da22a8513d57 直接参考上面的链接即可 一个有意思的地方 这段代码的意思是如果到了该执行下一次任务时上次任务还在执行则跳过下次任务,这种写法还是第一次看到 // SkipIfStillRunning skips a ...
分类:
其他好文 时间:
2020-06-30 22:33:20
阅读次数:
81