码迷,mamicode.com
首页 >  
搜索关键字:algorithm    ( 11758个结果)
java加密算法--RSA
import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingE ...
分类:编程语言   时间:2020-02-12 16:13:22    阅读次数:74
Graham算法模板
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 题解
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
Picture POJ - 1177 线段树+离散化+扫描线 求交叉图像周长
参考 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
[题解] [JSOI2013] 强连通图
"题面" 题解 结论题 第一问直接 tarjan 第二问就是 tarjan 后缩点, DAG 中入度为 0 的点和出度为 0 的点的个数取 $min$ Code ...
分类:Web程序   时间:2020-02-11 20:46:45    阅读次数:86
POJ 3352 Road Construction
#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
Can you answer these queries? HDU - 4027 有点坑
#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
fhq-Treap 文艺平衡树代码记录
#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
C++, standard library
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
共11758条   上一页 1 ... 86 87 88 89 90 ... 1176 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!