Farmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the ...
分类:
其他好文 时间:
2020-04-06 20:59:56
阅读次数:
79
题目大意:每一个城市都有一定的魅力值,然后有一个有向图,根据这个有向图从1到n+1所获得的魅力的最大值,并输出路径(要求只能从编号娇小的城市到编号较大的城市)。 题解:很容易想到最短路+路径纪录。但是感觉有点小题大做了。我开始的方法是dfs+dp,dp[i]表示i的子节点最大的魅力值,但是它给的是一 ...
分类:
其他好文 时间:
2020-03-18 18:27:29
阅读次数:
50
在配置和使用SharPoint Farm的分布式缓存时,首先需要检查服务器上各参数运行正常,然后在进行cache cluster的配置。下面是各检查步骤: 一、 检查服务器场中需要启用Distributed Cache服务的每台服务器上的注册表中的AppFabric注册表配置信息,注册表路径:"HK... ...
分类:
其他好文 时间:
2020-03-13 13:06:22
阅读次数:
127
https://www.luogu.com.cn/problem/P2921 #include<bits/stdc++.h> using namespace std; const int Maxn=100005; int nxt[Maxn]; int ans[Maxn]; int head[Maxn ...
分类:
其他好文 时间:
2020-02-29 20:55:43
阅读次数:
85
1、证书错误 2、 $Farm = Get-SPFarm $Farm.Properties.Add("WopiLegacySoapSupport", "http://<URL>/x/_vti_bin/ExcelServiceInternal.asmx"); $Farm.Update()报错: "It ...
分类:
其他好文 时间:
2020-02-25 17:25:57
阅读次数:
89
题意:按x从小到大给出n个点,要求一条从最左走到最右再回到最左的路径最小值 要求走过每个点 Solution by Rujia,liu #include<iostream> #include<string> #include<cmath> #include<cstring> #include<vec ...
分类:
其他好文 时间:
2020-02-20 17:28:26
阅读次数:
100
随便写了个tour练习 Go的chanel体验还是不错的,共享地址 package main import "fmt" func sum(s []int, c chan int) { sum := 0 for _, v := range s { sum += v } c <- sum } func ...
分类:
其他好文 时间:
2020-02-13 00:06:15
阅读次数:
59
Farmer John wants to set up a telephone line at his farm. Unfortunately, the phone company is uncooperative, so he needs to pay for some of the cables ...
分类:
其他好文 时间:
2020-02-11 09:45:17
阅读次数:
72
A straight dirt road connects two fields on FJ's farm, but it changes elevation more than FJ would like. His cows do not mind climbing up or down a si ...
分类:
其他好文 时间:
2020-01-29 15:43:18
阅读次数:
94
题意: farm(农庄)上有一堆pastures(牧场),cow path可以把一些牧场连起来,但是现在至少有两个牧场不能被任何cow path连起来。对于一对牧场,我们可以用一个cow path连起他们。一个牧场是一个点,一个cow path是一条边,牧场和cow path一同组成了一个区域“fi ...
分类:
其他好文 时间:
2020-01-27 22:00:50
阅读次数:
46