1 """ 2 In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is secretly the town judge. 3 If the town judge ...
分类:
其他好文 时间:
2020-02-03 22:28:56
阅读次数:
84
1. 进入系统执行:df -h 2. 命令结果显示:/dev/mapper/VolGroup-lv_root 100% 空间爆满,导致上传文件失败; 3. 配合命令:find . -type f -size +500M 查找较大的文件,将无用的文件删除即可; ...
分类:
系统相关 时间:
2020-02-03 19:12:15
阅读次数:
132
1.Liunx是什么? Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和Unix的多用户、多任务、支持多线程和多CPU的操作系统。 它能运行主要的Unix工具软件、应用程序和网络协议。它支持32位和64位硬件。Linux继承了Unix以网络为核心的设计思想,是一个性能稳 ...
分类:
其他好文 时间:
2020-02-03 17:29:41
阅读次数:
102
Write a program to find the weighted shortest distances from any vertex to a given source vertex in a digraph. If there is more than one minimum path ...
分类:
其他好文 时间:
2020-02-03 15:53:01
阅读次数:
83
Write a program to not only find the weighted shortest distances, but also count the number of different minimum paths from any vertex to a given sour ...
分类:
其他好文 时间:
2020-02-03 15:52:30
阅读次数:
88
Centos登录Mysql时出现Can't connect to local MySQL server through socket '/tmp/mysql.sock'的错误。 解决方法: 1.首先输入命令 find / -name mysql.sock,如果结果中有/var/lib/mysql/m ...
分类:
数据库 时间:
2020-02-03 13:42:39
阅读次数:
99
本文介绍RecyclerView的使用入门。这里给出一种比较常见的使用方式。 "Android教程2020 系列总览" "本文链接" 想必读者朋友对列表的表现形式已经不再陌生。手机上有联系人列表,文件列表,短信列表等等。 本文讲述的是在Android开发中用RecyclerView来实现列表效果。 ...
分类:
移动开发 时间:
2020-02-03 11:39:20
阅读次数:
113
用了前缀集合,高级的可以用前缀树 class Solution: def findWords(self, board: List[List[str]], words: List[str]) -> List[str]: if len(board) == 0 or len(board[0]) == 0: ...
分类:
其他好文 时间:
2020-02-03 09:45:19
阅读次数:
90
Caused by: java.net.BindException: Address already in use: bind 1.输入 netstat -ano|findstr 8080,回车,显示在最后面的数字就是我们tomcat进程的端口号。 2.输入 taskkill /pid 8080 / ...
分类:
其他好文 时间:
2020-02-03 09:37:25
阅读次数:
97
1 """ 2 Given a binary tree, find its maximum depth. 3 The maximum depth is the number of nodes along the longest path from the root node down to the ...
分类:
其他好文 时间:
2020-02-02 23:16:12
阅读次数:
93