Selecting Courses Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10627 Accepted: 4803 Description It is well known that it is not easy to ...
分类:
其他好文 时间:
2020-06-24 21:36:57
阅读次数:
72
The Unique MST Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 30194 Accepted: 10809 Description Given a connected undirected graph, tell i ...
分类:
其他好文 时间:
2020-06-24 21:33:23
阅读次数:
67
程序安装在/usr/local/freeswitch目录,root用户。 1、在目录/usr/lib/systemd/system下创建文件freeswitch.service,内容如下: [Unit] Description=FreeSWITCH After=syslog.target netwo ...
分类:
其他好文 时间:
2020-06-24 18:09:13
阅读次数:
69
import java.util.*; /** * @Class CanVisitAllRooms * @Description 841. 钥匙和房间 * 有 N 个房间,开始时你位于 0 号房间。每个房间有不同的号码:0,1,2,...,N-1, * 并且房间里可能有一些钥匙能使你进入下一个房间。 ...
分类:
其他好文 时间:
2020-06-24 16:10:15
阅读次数:
41
地址 https://www.acwing.com/problem/content/description/1143/ 某个局域网内有 n 台计算机和 k 条 双向 网线,计算机的编号是 1~n。由于搭建局域网时工作人员的疏忽,现在局域网内的连接形成了回路,我们知道如果局域网形成回路那么数据将不停的 ...
import java.util.Arrays; /** * @Class ThreeSumClosest * @Description 16. 最接近的三数之和 * 给定一个包括 n 个整数的数组 nums 和 一个目标值 target。找出 nums 中的三个整数, * 使得它们的和与 targ ...
分类:
其他好文 时间:
2020-06-24 12:20:26
阅读次数:
45
package LeetCode_268 /** * 268. Missing Number * https://leetcode.com/problems/missing-number/description/ * * Given an array containing n distinct nu ...
分类:
其他好文 时间:
2020-06-24 00:06:34
阅读次数:
63
import java.util.HashMap; import java.util.Map; /** * @Class CheckPermutation * @Description * 给定两个字符串 s1 和 s2,请编写一个程序,确定其中一个字符串的字符重新排列后,能否变成另一个字符串。 * ...
分类:
其他好文 时间:
2020-06-23 15:48:26
阅读次数:
55
vim /etc/systemd/system/node_exporter.service [Unit] Description=node_exporter Documentation=https://prometheus.io/ After=network.target [Service] Typ ...
分类:
系统相关 时间:
2020-06-22 17:16:37
阅读次数:
107
ceilometer openstack project create --domain default --description "Service Project" service yum -y install redis libvirt epel-release yum -y install ...
分类:
其他好文 时间:
2020-06-22 12:52:24
阅读次数:
81