这场没打啊 A. Diagonal Walking 签到 B. String Typing 签到 C. Matrix Walk 题意 分析 D. Fight Against Traffic 题意 分析 E. Water Taps 题意 分析 F. Runner's Problem 题意 分析 G. ...
分类:
其他好文 时间:
2018-03-24 21:30:38
阅读次数:
228
Description "题目链接" Solution 从起点和终点分别做一次最短路并记录结果 枚举每一条可能的边判断 Code ...
分类:
其他好文 时间:
2018-03-23 15:21:53
阅读次数:
173
一、SpringBoot是什么? Spring Boot是由Pivotal团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程。该框架使用了特定的方式来进行配置,从而使开发人员不再需要定义样板化的配置。通过这种方式,Spring Boot致力于在蓬勃发展的快速应用开发领域 ...
分类:
编程语言 时间:
2018-03-23 13:02:47
阅读次数:
543
题目大意 有 $n$($1\le n\le 200000$)个变量 $x_1, x_2, \dots, x_n$,满足 \begin{equation} 0\le x_i \le a_i \label{C:0} \end{equation} 其中 $1\le a_i \le 10^6$,$a_i\i ...
分类:
其他好文 时间:
2018-03-22 23:49:02
阅读次数:
252
Description An annual bicycle rally will soon begin in Byteburg. The bikers of Byteburg are natural long distance cyclists. Local representatives of m ...
分类:
其他好文 时间:
2018-03-22 13:42:54
阅读次数:
183
题目链接 Round #440 Div 1 Problem D 题意 把每个数看成一个点,如果$gcd(x, y) \neq 1$,则在$x$和$y$之间连一条长度为$1$的无向边。 设$d(u, v)$为$u$到$v$之间的最短路,如果$u$和v不连通那么$d(u, v) = 0$ 现在给定$n$ ...
分类:
其他好文 时间:
2018-03-22 01:40:59
阅读次数:
106
Keepalived 简要介绍 Keepalived 是一种高性能的服务器高可用或热备解决方案,Keepalived 可以用来防止服务器单点故障的发生,通过配合 Nginx 可以实现 web 前端服务的高可用。 Keepalived 以 VRRP 协议为实现基础,用 VRRP 协议来实现高可用性(H ...
分类:
其他好文 时间:
2018-03-21 20:03:58
阅读次数:
153
方法一手动跟新: 手动修改package.json中依赖包版本,执行npm install --force,强制从远程下载所有包更新本地包 方法二使用第三方插件: npm install -g npm-check-updates ncu // 查看可更新包 ncu -u // 更新package.j ...
分类:
其他好文 时间:
2018-03-20 00:43:58
阅读次数:
168
Short Description: ORC Creation Best Practices with examples and references. Short Description: Article Synopsis. ORC is a columnar storage format for ...
分类:
其他好文 时间:
2018-03-19 14:18:54
阅读次数:
228
"E. Fafa and Ancient Mathematics" 题意: 给出一串加减表达式,括号可以互相匹配。其中有 p 个加号, m 个减号,问最后的结果最大可能是多少。 min(p,m) using namespace std; pragma comment(linker, "/STACK: ...
分类:
其他好文 时间:
2018-03-18 21:37:52
阅读次数:
170