因为只有奇偶之间有操作, 可以看出是二分图, 然后拆质因子, 二分图最大匹配求答案就好啦。 ...
分类:
其他好文 时间:
2019-02-04 01:08:05
阅读次数:
179
1:只读(‘r' 和 ’rb'以字节读) 相对路径 2:读写('r+'和‘r+b'以bytes字节读写) 3:只写('w'和'wb') 先将源文件的内容全部清除,再写。 4:写读 w+ , w+b 5:追加 'a' 6:文件操作其他功能 f = open('log',mode='a',encodin ...
分类:
其他好文 时间:
2019-02-03 22:13:15
阅读次数:
177
perfer count( ) 1. "官方文档" : _InnoDB handles SELECT COUNT( ) and SELECT COUNT(1) operations in the same way. There is no performance difference._ 2. 阿里 ...
分类:
数据库 时间:
2019-02-03 15:34:11
阅读次数:
215
zabbix报警逻辑初探 首先贴出一张网上找的一张关于zabbix报警相关表结构及表关联逻辑图: actions表 actions表对应前端配置是动作(actions) action由condition(条件)和operations(操作)组成。当满足指定的条件,然后执行操作。发送内容在动作里配置( ...
分类:
其他好文 时间:
2019-02-01 18:01:06
阅读次数:
196
线段树简单维护 一开始没看见b是排列 。。。 ...
分类:
其他好文 时间:
2019-01-29 13:46:27
阅读次数:
213
Interface declares operations, not data structure Implementation is hidden from client (encapsulation) Use features of programming language to ensure ...
分类:
其他好文 时间:
2019-01-28 14:10:07
阅读次数:
201
Chapter 1. Points and Lines (已看) Chapter 2. Geometry Snippets (已看) Chapter 3. Trigonometry Snippets (已看) Chapter 4. Vector Operations (已看) Chapter 5. ...
分类:
其他好文 时间:
2019-01-27 19:16:20
阅读次数:
138
Problem 12. (Difficulty 2) Bubblesort and oblivious merge-sort each give a sequence ofcompare-exchange operations which sorts any array A[0..3]. Write ...
分类:
其他好文 时间:
2019-01-23 20:30:32
阅读次数:
153
链接:https://docs.azure.cn/zh-cn/articles/azure-operations-guide/app-service-web/aog-app-service-web-howto-detect-file-storage-in-sandbox-environment 分割 ...
分类:
Web程序 时间:
2019-01-21 17:09:31
阅读次数:
204
# -*- coding: utf-8 -*- from fabric.api import env, run, local, put from fabric.operations import sudo import tarfile import os import string # GIT_RE... ...