#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=510000; const int Log=50; const int inf=2147483647; int val[N*Log],rnd[ ...
分类:
其他好文 时间:
2020-06-06 00:58:59
阅读次数:
66
#include<bits/stdc++.h> typedef long long ll; using namespace std; const int N=12; const int M=1595323; const int mod=500009; int n,m,mp[N+5][N+5]; in ...
分类:
其他好文 时间:
2020-06-06 00:57:56
阅读次数:
52
#神仙的博客(我就是用的这种方法) 树hash的方法很多,我用的是上面博客里面的方法 最近跟Wendigo神仙做题目,发现自己思维不行 #题目 ##BJOI2015树的同构 #include<bits/stdc++.h> typedef long long ll; using namespace s ...
分类:
其他好文 时间:
2020-06-05 20:51:17
阅读次数:
67
同 Luogu P3373 注意如果写 pushup 的话不要越界 注意更新 sum 值的位置 # include <iostream> # include <cstdio> # define MAXN 100000+5 # define LL long long using namespace s ...
分类:
其他好文 时间:
2020-06-05 19:30:00
阅读次数:
44
我好像只会背公式,用容斥来理解稍微好一点 程序的精妙的地方还是在其他部分,这个只不过是一个容斥 #题目 #游戏 #include<bits/stdc++.h> typedef long long ll; using namespace std; const int N=5100; const int ...
分类:
其他好文 时间:
2020-06-05 19:20:42
阅读次数:
68
https://blog.csdn.net/qq_30680871/article/details/90765836 ll /proc/PID PID替换成对应的PID即可 ...
分类:
其他好文 时间:
2020-06-05 13:23:21
阅读次数:
117
#include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e18;/* ...
分类:
其他好文 时间:
2020-06-04 19:38:52
阅读次数:
55
#include<iostream> #include<cstdio> #include<algorithm> #include<queue> #include<iomanip> #include<cstring> using namespace std; typedef long long ll; ...
分类:
其他好文 时间:
2020-06-04 01:12:55
阅读次数:
61
MySQL多实例配置 一、MySQL多实例配置 1.1.1 MySQL多实例配置 创建多实例目录 [root@db01 /]# mkdir -p /data/330{7,8,9}/data [root@db01 /]# ll /data/330{7,8,9}/data /data/3307/data ...
分类:
数据库 时间:
2020-06-03 20:33:16
阅读次数:
68
1、准备源码安装包 官网:https://tomcat.apache.org/ 2、上传安装包到linux中,并解压 [root@node1 ~]# cd /usr/local/src/ [root@node1 src]# ll total 9424 -rw-r--r--. 1 root root ...
分类:
其他好文 时间:
2020-06-03 15:14:08
阅读次数:
77