码迷,mamicode.com
首页 >  
搜索关键字:voting algorithm    ( 11828个结果
C++模板推导丢失引用问题
先看一个例子: #include <numeric> #include <vector> #include <algorithm> #include <iterator> #include <thread> #include <iostream> #include <functional> usin ...
分类:编程语言   时间:2020-07-04 01:41:11    阅读次数:74
Turbo与LDPC译码算法
Turbo译码算法: 1,MAP,Maximum A Posteriori,最大后验概率 2,LOG-MAP,Logarithm Maximum A Posteriori,对数最大后验概率(简化MAP运算,对数将乘除运算转换为加减运算--仍需计算复杂的对数) 3,MAX-LOG-MAP,Maximu ...
分类:编程语言   时间:2020-07-03 17:52:32    阅读次数:82
luogu P1742 最小圆覆盖
最小圆覆盖 主要是我太菜了不会证明qwq,上面的博客讲的非常好。 主要是存代码: #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<cmath> using namespace std ...
分类:其他好文   时间:2020-07-03 10:23:25    阅读次数:46
POJ 1089 Intervals
题目地址 简单的贪心,POJ不能用C11,硬是把C11的特性改回来了 代码 #include <algorithm> #include <iostream> #include <vector> using namespace std; const int INF = 1e9; struct node ...
分类:其他好文   时间:2020-07-03 00:43:01    阅读次数:63
CodeForces 438D. The Child and Sequence(线段树区间更新)
题意:给定一个数组a[1],a[2],...,a[n],他可以进行如下的m个操作,一个操作可以是如下三个的其中一个:1.打印[l, r]的和,即求$\sum_^a[i]$。2.对[l, r]之间的每个数取模x,\(a[i] = a[i]\quad mod\quad x\)。$3.让a[k] = x$ ...
分类:其他好文   时间:2020-07-02 21:33:07    阅读次数:50
md5信息摘要算法 基于16位机器运行
MD5信息摘要算法(Message Digest Algorithm) md5是一种密码散列函数,可以生成128位(16字节)的散列值,用于确保信息传输完整一致。 这里举例如何在16机器上实现md5算法: md5.h 1 #ifndef MD5_H 2 #define MD5_H 3 4 typed ...
分类:编程语言   时间:2020-07-02 13:39:17    阅读次数:47
ACwing(基础)---789. 数的范围
789. 数的范围 #include<iostream> #include<vector> #include<algorithm> using namespace std; const int maxn =1e5+10; int a[maxn]; int main() { int n,m,x; ci ...
分类:Windows程序   时间:2020-07-02 13:28:58    阅读次数:71
Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde的解决方法
今天学习了一下Hive的自定义函数,于是乎想练习一下在本地编写一个自定义的函数,然后打包上传到集群,再进行执行的过程。但是中间遇到了一些小挫折,就是当我打包的时候,除了导入正常所需要的org.apache.hive包之外,并没导入其他的包。但是开始打包以后,报错了,报错信息如下: Could not ...
分类:编程语言   时间:2020-07-01 11:03:18    阅读次数:199
【HDU2553】n皇后
题链 tips: 1.n皇后其实是用递归遍历所有可能的情况,通过位置的限制来减小解空间的大小,减少枚举的数目。属于递归以枚举。 2.是递归完成全排列的基础上改的。 3.有一维和剪枝的写法(待补) #include<cstdio> #include<cmath> #include<algorithm> ...
分类:其他好文   时间:2020-06-30 22:10:20    阅读次数:45
决策变元选择_决策分支策略——文献学习SAT Solving with Reference Points
要点:使用DMRP algorithm (decision making with a reference point)在重启阶段为解决问题提供好的方向。 引文来自: Kottler S. (2010) SAT Solving with Reference Points. In: Strichman ...
分类:其他好文   时间:2020-06-30 20:42:54    阅读次数:56
11828条   上一页 1 ... 32 33 34 35 36 ... 1183 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!