码迷,mamicode.com
首页 >  
搜索关键字:edge    ( 2375个结果
[bzoj2055]80人环游世界[网络流,上下界网络流]
手动画了整张图,,算是搞懂了吧,, 1 #include 2 3 #define INF 0x3f3f3f3f 4 5 using namespace std; 6 7 template 8 struct Edge 9 { 10 struct Ed...
分类:其他好文   时间:2015-12-31 07:14:10    阅读次数:189
2015-12-30前端twitter播报
V8中的Function.prototype.bind有50倍性能的提升Chrome Canary版中的js最新性能已经完成了91%年底的时候,ES6的支持情况:chrome:91% (w. flag), FF — 90% (unflagged!), Edge — 90% (flagged), We...
分类:其他好文   时间:2015-12-30 13:22:06    阅读次数:142
POJ 1330 Nearest Common Ancestors
笔者的离线LCA模板。这里并查集和dfs的使用是个妙招。#include#include#include#define maxv 10005#define maxe 20005#define maxq 105using namespace std;struct edge{ int v,nxt;}e[...
分类:其他好文   时间:2015-12-30 09:12:08    阅读次数:131
仿苹果手机通讯录按字母定位
<!DOCTYPEhtml> <html> <head> <metacharset="utf-8"> <metahttp-equiv="X-UA-Compatible"content="IE=edge"> <metaname="viewport"content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/&..
分类:移动开发   时间:2015-12-28 18:40:35    阅读次数:206
Windows10 之移除Cortana、 Microsoft Edge、联系支持人员和Windows 反馈等应用
除标准应用(具体见Windows10之重新安装应用)外,Windows10还有一类应用SystemApp称为系统应用,这类应用最大的特点是不能用PowerSell命令等方法进行删除,如Cortana、MicrosoftEdge、联系支持人员和Windows反馈等应用。对于这类应用的移除方法,其实就是将应用所对应用的文件..
分类:Windows程序   时间:2015-12-25 17:24:31    阅读次数:351
★Kali信息收集~ 5.The Harvester:邮箱挖掘器
官网:http://www.edge-security.com安装:apt-get install theHarvester运行:终端输入 theharvester (小写) 用法+参数:(返回邮箱+子域名) 最常见用法:theharvester -d 域名|公司名 -b 搜索来源(google,b...
分类:其他好文   时间:2015-12-25 06:23:20    阅读次数:383
Leetcode: Graph Valid Tree && Summary: Detect cycle in directed graph and undirected graph
Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edges mak...
分类:其他好文   时间:2015-12-24 07:05:51    阅读次数:466
Educational Codeforces Round 3 E (609E) Minimum spanning tree for each edge
题意:一个无向图联通中,求包含每条边的最小生成树的值(无自环,无重边)分析:求出这个图的最小生成树,用最小生成树上的边建图对于每条边,不外乎两种情况1:该边就是最小生成树上的边,那么答案显然2:该边不在最小生成树上,那么进行路径查询,假设加入这条边,那么形成一个环,删去这个环上除该边外的最大权值边,...
分类:其他好文   时间:2015-12-20 13:01:05    阅读次数:188
bzoj 1087
状压DP,数组范围没注意,搞了半天QAQ感觉状压DP挺难调的 1 #include 2 #define inc(i,l,r) for(int i=l;i=r;i--) 4 #define link(x) for(edge *j=h[x];j;j=j->next) 5 #define mem(a) m...
分类:其他好文   时间:2015-12-19 00:02:13    阅读次数:225
poj 3254
状压DP。位运算真是弱项 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define inc(i,l,r) for(int i=l;i=r;i--) 8 #define link(x) for(edge *j=h[x];j;j=j...
分类:其他好文   时间:2015-12-17 22:33:09    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!