码迷,mamicode.com
首页 >  
搜索关键字:algorithm    ( 11758个结果)
MOP tricks
MOP tricks 开新坑,未完待续 觉得有用的话,欢迎一起讨论相互学习~ "Follow Me" Reference [1] Multiobjective Immune Algorithm with Nondominated Neighbor Based Selection Some refer ...
分类:其他好文   时间:2019-12-08 00:58:33    阅读次数:138
AcWing 7. 混合背包问题
#include<iostream> #include<algorithm> #include<cstring> using namespace std ; const int N=1010; int f[N],g[N],q[N]; int n,m; int a[N]; int main() { c ...
分类:Windows程序   时间:2019-12-08 00:54:13    阅读次数:108
DTLZ
DTLZ 开新坑,未完待续 觉得有用的话,欢迎一起讨论相互学习~ "Follow Me" Reference [1] Multiobjective Immune Algorithm with Nondominated Neighbor Based Selection [2] Deb, K., Thi ...
分类:其他好文   时间:2019-12-08 00:52:01    阅读次数:101
CodeForces 1265 D. Beautiful Sequence
贪心 #include <iostream> #include<algorithm> #include<string.h> #include<set> using namespace std; const int maxn=100010; int ans[maxn]; int a[4]; void ...
分类:其他好文   时间:2019-12-07 17:57:19    阅读次数:217
AcWing 487. 金明的预算方案
#include <cstring> #include <iostream> #include <algorithm> #include <vector> #define v first #define w second using namespace std; typedef pair<int, ...
分类:Windows程序   时间:2019-12-07 10:53:46    阅读次数:100
[Algorithm] 283. Move Zeroes
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. Example: Note: T ...
分类:其他好文   时间:2019-12-07 10:41:18    阅读次数:72
#2019120700022 蛇形填充数组
$Way1$ ...
分类:编程语言   时间:2019-12-07 10:27:28    阅读次数:60
数位dp
//hdu2089 #include "cstdio" #include "cstring" #include "iostream" #include "algorithm" using namespace std; int cont; long long dig[10001]; long long ...
分类:其他好文   时间:2019-12-07 01:26:06    阅读次数:182
[Algorithm] 206. Reverse Linked List
Reverse a singly linked list. Example: Follow up: A linked list can be reversed either iteratively or recursively. Could you implement both? Approach ...
分类:其他好文   时间:2019-12-06 23:28:31    阅读次数:112
树的重心(DFS)
#include<iostream>#include<algorithm>#include<string.h>#include<vector>#include<cmath>using namespace std;const int maxn=1e5+10;vector<int>v[maxn];int ...
分类:其他好文   时间:2019-12-06 00:04:22    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!