import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingE ...
分类:
编程语言 时间:
2020-02-12 16:13:22
阅读次数:
74
Graham算法模板 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <cmath> 5 #include <algorithm> 6 using namespace std; 7 typedef l ...
分类:
编程语言 时间:
2020-02-12 12:37:46
阅读次数:
80
AGC029C - Lexicographic constraints ...
分类:
其他好文 时间:
2020-02-12 00:35:01
阅读次数:
47
复习一下高精度: 高精度加法: #include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; vector<int> add(vector<int> a,vector ...
分类:
编程语言 时间:
2020-02-11 21:55:58
阅读次数:
89
参考 https://www.cnblogs.com/null00/archive/2012/04/22/2464876.html #include <stdio.h> #include <algorithm> #define LEN 10000 using namespace std; struc ...
分类:
其他好文 时间:
2020-02-11 20:48:58
阅读次数:
75
"题面" 题解 结论题 第一问直接 tarjan 第二问就是 tarjan 后缩点, DAG 中入度为 0 的点和出度为 0 的点的个数取 $min$ Code ...
分类:
Web程序 时间:
2020-02-11 20:46:45
阅读次数:
86
#include<cstdio> #include<cstring> #include<cmath> #include<algorithm> #define maxn 1005 using namespace std; int num,to[maxn<<1],nxt[maxn<<1],last[ma ...
分类:
其他好文 时间:
2020-02-11 17:35:13
阅读次数:
63
#include<iostream> #include<cstring> #include<cstdio> #include<math.h> #include<algorithm> using namespace std; typedef long long ll; const int N=1e5+ ...
分类:
其他好文 时间:
2020-02-11 11:56:20
阅读次数:
60
#include<iostream> #include<algorithm> #include<vector> #include<cstdio> #include<string> using namespace std; const int N=1e4+10; int a[N]; int root; ...
分类:
其他好文 时间:
2020-02-11 11:47:35
阅读次数:
78
0. 1. Standard library header <algorithm> #include <algorithm> // for sort std::array<int,10> s = {5,7,2,8,6,1,9,0,3}; // initial an array std::sort(s ...
分类:
编程语言 时间:
2020-02-11 09:29:05
阅读次数:
56