Given a non-empty binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to any ...
分类:
其他好文 时间:
2018-12-10 13:50:35
阅读次数:
143
一、有时log是这样的 但是如上所示,没有得到提示信息,直接悬挂在启动内核的位置上。为解决这个提问: 首先想到的是打开使能early_printk,再次启动然后看是否可以得到有效的提示信息,假如仍然不可以的话,那就你直接读取缓存 ,缓存的地址为 __log_buf其地址在System.map被标记出 ...
分类:
其他好文 时间:
2018-12-09 20:39:29
阅读次数:
366
In a string S of lowercase letters, these letters form consecutive groups of the same character. For example, a string like S = "abbxxxxzyy" has the g ...
分类:
编程语言 时间:
2018-12-08 13:37:09
阅读次数:
131
Bits是一个工具类,用于获取bytes数组的值的。 首先先确定char的存储的字节个数:请看博客:https://www.cnblogs.com/louiswong/p/6062417.html 或者 https://www.cnblogs.com/lchzls/p/7071862.html 从上 ...
分类:
其他好文 时间:
2018-12-04 14:50:33
阅读次数:
268
1.类的命名空间1>简单变量和属性名称1.简单变量名(无点号):遵循函数LEGB作用域法则==>赋值(X=value)://使变量成为本地变量:除非声明是全局的==>引用(X)://LEGB搜索变量2.属性名称(点号属性名称):遵循模块和类的规则==>赋值(object.X=value)//实例对象命名空间内创建、修改变量==>引用(object.X)://基于类的对
分类:
编程语言 时间:
2018-12-03 01:10:12
阅读次数:
177
Given an array of 4 digits, return the largest 24 hour time that can be made. The smallest 24 hour time is 00:00, and the largest is 23:59. Starting f ...
分类:
其他好文 时间:
2018-12-02 22:49:46
阅读次数:
185
Given a non-empty binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to any ...
分类:
其他好文 时间:
2018-12-02 12:13:22
阅读次数:
181
root pts/1 2018-11-16 00:38 (desktop-4a0ohej)
[root@master init]# tail -f /var/log/messages
Nov 16 01:01:01 master systemd: Starting Session 34 of user root.
Nov 16 01:10:01 master systemd: Started Session 35 of user root.
Nov 16 01:10:01 master systemd: Starting Session 35 of user root.
Nov 16 01:14:00 master root: [euid=root]:root pts/0 2018-11-16 00:29 (desktop-4a0ohej):[pwd]export PROMPT_COMMAND=‘ { msg=$(history 1 | { read x y; echo $y; });logger "[euid=$(whoami)]":$(who am i):[‘
分类:
其他好文 时间:
2018-12-01 00:00:52
阅读次数:
238
service mysql start 报错: Starting MySQL. ERROR! The server quit without updating PID file(xxx/x.pid) 查看日志: [ERROR] Could not create unix socket lock fi ...
分类:
数据库 时间:
2018-11-30 14:15:36
阅读次数:
185
【hadoop是2.6.5版本 xshell是6版本 jdk是1.8.0.131 虚拟机是CentOS-6.9-x86_64-bin-DVD1.iso vmware10】 1.创建虚拟机 第一步:在VMware中创建一台新的虚拟机。如图2.2所示。 图2.2 第二步:选择“自定义安装”,然后单击“下 ...
分类:
系统相关 时间:
2018-11-27 16:56:33
阅读次数:
264