4746: Xiangqi 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 总提交: 15 测试通过:2 描述 Xiangqi is one of the most popular two-player board games in China. The ga ...
分类:
其他好文 时间:
2018-02-15 21:28:28
阅读次数:
261
介绍 Docker Swarm 是 Docker 公司推出的官方容器集群平台,基于 Go 语言实现 作为容器集群管理器,Swarm 最大的优势之一就是 100% 支持标准的 Docker API。各种基于标准 API 的工具比如 Compose、docker-py、各种管理软件,甚至 Docker ...
分类:
其他好文 时间:
2018-02-11 10:37:01
阅读次数:
151
1. 导航守卫 正如其名,vue router 提供的导航守卫主要用来通过跳转或取消的方式守卫导航。 有多种机会植入路由导航过程中: 全局的 , 单个路由独享的 , 或者 组件级的 。 记住参数或查询的改变并不会触发进入/离开的导航守卫 1.1. 全局守卫 你可以使用 router.beforeEa ...
分类:
其他好文 时间:
2018-02-09 20:29:36
阅读次数:
247
题目 题目描述 Bessie and her sister Elsie want to travel from the barn to their favorite field, such that they leave at exactly the same time from the barn, ...
分类:
其他好文 时间:
2018-02-06 01:06:59
阅读次数:
175
Title 点我吧 --> --> var app = new Vue( { el:"#app", data:{ }, methods:{ onClick:function ... ...
分类:
其他好文 时间:
2018-01-30 19:41:06
阅读次数:
178
背景 这个学期的前$\frac{3}{4}$, 我都是在停课集训中度过的, 先是GDKOI, 再是北京集训, 最后是GDOI, 结果GDOI还没进day3就滚粗了. 学校的内容是考完GDOI后回学校自学的, 这段时间里我继续停课自学了3个星期, 然后回班上了3个星期的课, 就期末考了. 期末考不出所 ...
分类:
其他好文 时间:
2018-01-30 00:22:44
阅读次数:
124
Remove Duplicates from Sorted Array II 题解 题目来源:https://leetcode.com/problems/remove duplicates from sorted array ii/description/ Description Follow up ...
分类:
其他好文 时间:
2018-01-29 16:13:22
阅读次数:
145
Love is composed of a single soul inhabiting two bodies. 爱就是一个灵魂栖息在两个身体里。 Love and family and children shouldn't be considered as somethings that are ...
分类:
其他好文 时间:
2018-01-28 00:09:52
阅读次数:
166
You are given two positive integer numbers a and b. Permute (change order) of the digits of a to construct maximal number not exceeding b. No number i ...
分类:
其他好文 时间:
2018-01-27 00:30:48
阅读次数:
183
前面介绍了关键段CS、事件Event、互斥量Mutex在经典线程同步问题中的使用。本篇介绍用信号量Semaphore来解决这个问题。 首先也来看看如何使用信号量,信号量Semaphore常用有三个函数,使用很方便。下面是这几个函数的原型和使用说明。 第一个 CreateSemaphore 函数功能: ...
分类:
编程语言 时间:
2018-01-26 17:13:50
阅读次数:
164