ref #include <stdio.h> #include <stdlib.h> typedef struct node { int data; struct node *lchild, *rchild; }bitree_t; bitree_t *createNode(int data) { b ...
分类:
编程语言 时间:
2021-03-15 11:35:22
阅读次数:
0
#include <stdio.h>#include <stdlib.h>typedef struct node { int number; struct node * next;}person;person * initLink(int n) { int i = 0; person * head ...
分类:
其他好文 时间:
2021-03-15 11:31:33
阅读次数:
0
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> PII; #define ls l,mid,rt<<1 #define rs mid+1,r,rt<<1|1 const ...
分类:
其他好文 时间:
2021-03-15 11:08:22
阅读次数:
0
头文件:#include<string> [注]:文中关于个数的参数文档中为 size_type 型,更本质是 size_t 型,因为typedef size_t size_type,而 size_t 在不同系统内实现不同,大概为 unsigned int 型,为简便起见,本文均写为 int 型。另 ...
分类:
编程语言 时间:
2021-03-11 18:19:40
阅读次数:
0
Aragorn's Story - 树链剖分 - HDU 3966 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 5e4+5; int n, m, p; char op[5]; in ...
分类:
其他好文 时间:
2021-03-06 14:20:12
阅读次数:
0
我发现平面图转对偶图经常和最小割在一起。 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long int ll; 4 typedef long double ld; 5 typedef pair<int,int> pi ...
分类:
其他好文 时间:
2021-03-05 13:00:48
阅读次数:
0
C - Cross-Stitch tag: 构造, 欧拉回路 题意 十字绣穿针引线,保证 'X' 八联通 思路 这样构造,然后正反跑欧拉回路 #include<bits/stdc++.h> using namespace std; const int N = 3e5 + 10; typedef lo ...
分类:
其他好文 时间:
2021-03-03 12:15:26
阅读次数:
0
typedef type newname; // 为已有的类型取一个新名字 // 枚举类型 enum color {red, green=5, yellow}; // color: 枚举名 // red, green, yellow: 标识符 // 默认,第一个标识符的值为0,第二个标识符的值为1, ...
分类:
编程语言 时间:
2021-03-01 13:50:41
阅读次数:
0
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; typedef ...
分类:
编程语言 时间:
2021-02-27 13:27:43
阅读次数:
0
A - Circle #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int r; int main(){ cin >> r; cout << r * r << end ...
分类:
其他好文 时间:
2021-02-24 13:15:50
阅读次数:
0