裸题:https://ac.nowcoder.com/acm/contest/5929/B #include<bits/stdc++.h> using namespace std; typedef long long ll; const int inf = 0x3f3f3f3f; int n; st ...
分类:
其他好文 时间:
2020-06-26 16:23:42
阅读次数:
104
一.基本数据类型 HIVE MySQL JAVA 长度 例子 TINYINT TINYINT byte 1byte有符号整数 2 SMALINT SMALINT short 2byte有符号整数 20 INT INT int 4byte有符号整数 20 BIGINT BIGINT long 8byt ...
分类:
其他好文 时间:
2020-06-26 12:30:19
阅读次数:
48
#include<bits/stdc++.h> using namespace std; #define int long long namespace yspm{ inline int read() { int res=0,f=1; char k; while(!isdigit(k=getchar ...
分类:
其他好文 时间:
2020-06-26 11:06:32
阅读次数:
48
如果你想从头学习Jmeter,可以看看这个系列的文章哦 https://www.cnblogs.com/poloyy/category/1746599.html 简单介绍 计数器的作用:循环递增生成数字 计数器使用 long 来存储值,因此取值范围是 -2 ^ 63 到 2 ^ 63-1 可以在线程 ...
分类:
其他好文 时间:
2020-06-26 01:24:32
阅读次数:
82
P6625 [省选联考 2020 B 卷] 卡牌游戏 这道题是道送分题,没有什么坑点,反正在我们jx弱省都没有人会错。 大概意思就是,给你个数列$a[i]$,每次将前面任意的$k$项(\(k\geq2\))合并成一项,加上这些项的和,问你怎么选最大。 一看到这道题,发现最大的痛点就是这个合并。但是我 ...
分类:
其他好文 时间:
2020-06-25 21:34:00
阅读次数:
61
就是线性代数的初等行变化: 倍加。 倍乘。 交换行。 #include <bits/stdc++.h> #define mp make_pair #define pb push_back using namespace std; typedef long long ll; typedef pair< ...
分类:
其他好文 时间:
2020-06-25 21:24:54
阅读次数:
60
The Prices Decscription 你要购买 \(m\) 种物品各一件,一共有 \(n\) 家商店,你到第 \(i\) 家商店的路费为 \(d[i]\),在第 \(i\) 家商店购买第 \(j\) 种物品的费用为 \(c[i][j]\) ,求最小总费用。 Input 第一行包含两个正整数 ...
分类:
其他好文 时间:
2020-06-25 19:53:26
阅读次数:
57
哈希表 开放寻址法: 找到初位置, 如果该位置已经有元素, 在其下一个位置放置 代码模板 int find(int x) { int t = (x % N + N) % N; while (h[t] != null && h[t] != x) { t ++ ; if (t == N) t = 0; ...
分类:
其他好文 时间:
2020-06-25 17:45:13
阅读次数:
49
正则表达式和grep 1)字符匹配 . 匹配任意单个字符 [] 匹配指定范围内的任意单个字符,示例:[long] [0-9] [a-z] [a-zA-Z],注意中括号里面的一定是一个字符 [^] 匹配指定范围外的任意单个字符,示例:[^long] [:alnum:] 字母和数字 [:alpha:] ...
分类:
其他好文 时间:
2020-06-25 17:31:35
阅读次数:
103
#include <iostream> #include <cstdio> #include <cstring> #define N 200005 using namespace std; #define int long long int n,m,S,T,tmp1,tmp2,tot; int id ...
分类:
其他好文 时间:
2020-06-25 13:31:36
阅读次数:
58