一道以前用python做过的题,竟然还是迷了…不过最后还是做出来了。 ...
分类:
其他好文 时间:
2018-07-13 21:29:56
阅读次数:
136
MySQL8.0安装官方文档:https://dev.mysql.com/doc/refman/8.0/en/binary-installation.html 安装前注意: MySQL8.0和MySQL5.7和之前的版本还是有区别的,第一点就是在安装MySQL的时候 密码认证方式:默认的密码加密方式是:caching_sha2_password,而现在很多客户端工具还不支持
分类:
数据库 时间:
2018-07-13 16:22:15
阅读次数:
393
Give a string s, count the number of non-empty (contiguous) substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in th ...
分类:
其他好文 时间:
2018-07-13 12:15:38
阅读次数:
132
参考文档:https://dev.mysql.com/doc/refman/5.7/en/binary-installation.html https://blog.csdn.net/maosilu_ice/article/details/78662847 1、创建mysql用户组和用户shell> groupadd mysqlshell> useradd -r -g mysql -s
分类:
数据库 时间:
2018-07-12 23:54:38
阅读次数:
826
题目大意 :给出 $n, \ k$ 求有多少个长度为 $n$ 的序列 $a$ 满足 $(a_1\ and \ a_2)or(a_2\ and \ a_3)or..or(a_{n-1}\ and \ a_n) = k$ 且 $a_i \leq k \leq 2^l$ 并输出方案数在$\mod m... ...
分类:
其他好文 时间:
2018-07-12 22:49:18
阅读次数:
202
67. Add Binary Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 ...
分类:
其他好文 时间:
2018-07-12 21:49:15
阅读次数:
132
ftp,securecrt,winscp等工具下载文件时候有选项,可选的有二进制方式和文本方式,文本方式又称为ascii方式 ascii方式和binary方式的区别是回车换行的处理,binary方式不对数据执行任何处理,ascii方式将回车换行转换为本机的回车字符,比如unix下是\n,window ...
分类:
其他好文 时间:
2018-07-12 21:47:55
阅读次数:
444
Description You have two very large binary trees: T1, with millions of nodes, and T2, with hundreds of nodes. Create an algorithm to decide if T2 is a ...
分类:
编程语言 时间:
2018-07-12 18:14:07
阅读次数:
157
Given a binary tree, return the inorder traversal of its nodes' values. Example: Input: [1,null,2,3] 1 \ 2 / 3 Output: [1,3,2] Follow up: Recursive so ...
分类:
其他好文 时间:
2018-07-11 19:57:19
阅读次数:
118
Given a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have different values. Example 1: Input: 5 O ...
分类:
其他好文 时间:
2018-07-11 19:39:49
阅读次数:
122