https://www.jianshu.com/p/2ff8e6f98257 PIL.Image与Base64 String的互相转换 mona_alwyn mona_alwyn 2018.01.18 19:02* 字数 281 阅读 39评论 0喜欢 0 2018.01.18 19:02* 字数 ...
分类:
其他好文 时间:
2018-03-21 17:27:50
阅读次数:
597
二分查找,往往是针对有序的数组进行查找,我们假设一个序列是数组有序,然后给定一个数字,查出它应该在这个数组中的排序位置 百度百科中讲到 二分查找也称折半查找(Binary Search),它是一种效率较高的查找方法。但是,折半查找要求线性表必须采用顺序存储结构,而且表中元素按关键字有序排列 折半查找 ...
分类:
Web程序 时间:
2018-03-21 15:00:37
阅读次数:
229
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma ...
分类:
其他好文 时间:
2018-03-21 11:51:50
阅读次数:
142
语法:CAST(exprAStype)类型:BINARY#二进制字符串CHAR(n)#普通字符串DATE#日期字符串DATETIME#时间日期字符串DECIMAL(m,n)#精确浮点数SIGNED#整数(有正负)TIME#时间字符串UNSIGNED#整数(正数)示例:mysql>selectcast(‘25‘assigned);+----------------------+|cast(‘2
分类:
数据库 时间:
2018-03-20 18:52:08
阅读次数:
175
?``` * Definition for a binar... ...
分类:
其他好文 时间:
2018-03-19 19:03:21
阅读次数:
170
二叉索引树,即树状数组,被某神犇称之为是最漂亮的数据结构,所以蒟蒻北篱也去学习了一下传说中的树状数组。 限于蒟蒻北篱的语言表达能力太差(其实是懒),于是引用了度娘的一段对树状数组的解释 树状数组(Binary Indexed Tree(B.I.T), Fenwick Tree)是一个查询和修改复杂度 ...
分类:
编程语言 时间:
2018-03-18 20:38:23
阅读次数:
202
准备一个干净的备份目录;[root@mysql ~]$ll /backups/
total 0
MariaDB [(none)]> show binary logs;
+------------------+-----------+
| Log_name  
分类:
其他好文 时间:
2018-03-18 14:52:56
阅读次数:
131
【CF662C】Binary Table 题意:给你一个$n\times m$的01网格,你可以进行任意次操作,每次操作是将一行或一列的数都取反,问你最多可以得到多少个1? $n\le 20,m\le 10^5$ 题解:我也不知道叫啥了,说状压也不对,说fwt也不太对,就叫按位处理得了。 显然有$O ...
分类:
其他好文 时间:
2018-03-18 12:04:49
阅读次数:
109
MySQL二进制安装文档 2018/3/16 18:35:49 jesper2357@gmail.com https://dev.mysql.com/doc/refman/5.7/en/binary installation.html [TOC] 0、安装简略步骤 安装包10.162.73.61:/ ...
分类:
数据库 时间:
2018-03-18 00:14:52
阅读次数:
422
[抄题]: Given a binary tree, return the tilt of the whole tree. The tilt of a tree node is defined as the absolute difference between the sum of all lef ...
分类:
其他好文 时间:
2018-03-17 22:06:43
阅读次数:
210