最近尝试学习golang,在某个网站(真忘了)上发现gotour是一款灰常叼的教程&指南,之后搜索发现有前辈给出了本地安装离线gotour的方法,但实际安装过程中发现一些问题: 1.通过go get bitbucket.org/mikespook/go-tour-zh/gotour命令安装时报错,提 ...
前言: 本系列在前面两篇文章,介绍了Zone.js和angular2的基础概念。而后对于ng2的学习,还是由官方的 Tour of Heroes 开始。 以下内容经过提炼和个人理解,当然也会有不正确的地方,欢迎指正。有兴趣的朋友,可以自己开始ng2之旅,再结合本篇文章一起理解。 ng2的配置比较麻烦 ...
分类:
其他好文 时间:
2016-06-01 12:54:50
阅读次数:
294
What is Gearman? Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the wor ...
分类:
其他好文 时间:
2016-05-31 13:40:16
阅读次数:
298
题意: 有N个城市,M条街道,每条街道是单向的,现在要你设计多条路线覆盖所有的点, 每条路线都是一个环,并且每个点仅能被一条路线覆盖且只经过一次(终始点除外) 分析: 因为是有向圈,所以每个点的入度和出度应该都是1,故将一个点拆成两个点, 入度点和出度点,然后用最佳匹配即可!(因为最佳匹配是求最大值 ...
分类:
其他好文 时间:
2016-05-25 18:38:58
阅读次数:
150
题意:给你一张有向图,叫你给出四个点的序列a,b,c,d,使得这四个点依次间的最短路之和最大。(4?≤?n?≤?3000,?3?≤?m?≤?5000) 思路:O(n4)可用来对拍 我们需要O(n2)级别的算法 若枚举c,d,预处理出x到b比较远的3个x,d到y比较远的3个y,时间复杂度O(9n2) ...
分类:
其他好文 时间:
2016-05-24 22:21:01
阅读次数:
238
4579: [Usaco2016 Open]Closing the Farm Description Farmer John and his cows are planning to leave town for a long vacation, and so FJ wants to tempora ...
分类:
其他好文 时间:
2016-05-21 12:53:55
阅读次数:
262
Problem Description
To improve the organization of his farm, Farmer John labels each of his N (1 <= N <= 5,000) cows with a distinct serial number in the range 1..20,000. Unfortunately, he is unaware...
分类:
其他好文 时间:
2016-05-19 01:38:04
阅读次数:
165
PIGS Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 19575 Accepted: 8948 Description Mirko works on a pig farm that consists of M locked p ...
分类:
其他好文 时间:
2016-05-18 23:43:21
阅读次数:
298
目录目录
Load Balance
使用NLB来部署Web Farm集群
环境准备
在Win08r2pc1中配置DNS服务
在Win08r2pc1中部署File Service文件服务
在Win08r2pc1中部署IIS Web服务
在win08r2pc2上部署IIS Web服务
配置共享的站点文件夹
win08r2pc1中的web共享配置
win08r2pc2中的web共享配置
创建NLB集群
N...
题目:http://www.lydsy.com/JudgeOnline/problem.php?id=1619
1619: [Usaco2008 Nov]Guarding the Farm 保卫牧场
Time Limit: 5 Sec Memory Limit: 64 MB
Submit: 694 Solved: 306
[Submit][Status][Discuss]
Descri...
分类:
其他好文 时间:
2016-05-18 18:20:06
阅读次数:
149