解法1 class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: dit = {} for i in range(len(nums)): other = target - nums[i] if other ...
分类:
其他好文 时间:
2021-04-06 14:26:04
阅读次数:
0
realsense cmake Selecting Windows SDK version to target Windows 10.0.19042. Checking internet connection... Internet connection identified Info: REALS ...
分类:
其他好文 时间:
2021-04-06 14:23:36
阅读次数:
0
给你一个数组 nums ,数组中只包含非负整数。定义 rev(x) 的值为将整数 x 各个数字位反转得到的结果。比方说 rev(123) = 321 , rev(120) = 21 。我们称满足下面条件的下标对 (i, j) 是 好的 : 0 <= i < j < nums.length nums[ ...
分类:
编程语言 时间:
2021-04-06 14:22:24
阅读次数:
0
题目描述: Kids in kindergarten enjoy playing a game called Hawk-and-Chicken. But there always exists a big problem: every kid in this game want to play th ...
分类:
其他好文 时间:
2021-04-05 12:24:28
阅读次数:
0
脚本主要功能: 1)通过zabbix api接口采集所有监控主机ip地址; 2)通过cmdb系统(蓝鲸)接口采集所有生产主机IP地址、主机名、操作系统、电源状态; 3)以上2步返回数据对比,找出未监控主机ip地址,生成csv文件; 4)发送邮件。 脚本如下: #!/usr/bin/python #c ...
分类:
编程语言 时间:
2021-04-05 12:04:28
阅读次数:
0
回溯法 全排列 LeetCode.46. 全排列 给定一个没有重复数字的序列, 返回其所有可能的全排列. 示例: 输入: [1,2,3] 输出: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1] ] from typing import L ...
分类:
其他好文 时间:
2021-04-05 11:44:36
阅读次数:
0
测试 19c asm flex 的 功能: 在节点1上面执行 srvctl stop asm -node test-rac19c-01 -stopoption abort -force 报错 因为 ora.asm_listener.type 是asm监听的主节点,节点1为主节点,主节点无法关闭 [g ...
分类:
其他好文 时间:
2021-04-02 13:07:21
阅读次数:
0
1.centos部署go环境 vim /etc/profile export PATH=$PATH:/usr/local/go/bin export GOROOT=/usr/local/go #go包的解压目录 export GOPATH=/opt/GOPATH #表示实际的工作目录 export ...
分类:
Web程序 时间:
2021-04-02 12:53:57
阅读次数:
0
将多条记录的某个字段合并成一条记录 group_concat : 将某字段多条记录合并,默认逗号分隔 select group_concat(c.invoice_no) from ibc_comm_invoice c where c.settle_nos like concat('%',m.sett ...
分类:
数据库 时间:
2021-03-31 12:35:16
阅读次数:
0
官网对于安装microstack的教程非常简单,似乎只是需要几个命令就可以完美解决问题。然而在安装过程中我出现了如下的问题: error: cannot perform the following tasks: Start snap “microstack” (216) services ([sta ...
分类:
其他好文 时间:
2021-03-30 13:19:48
阅读次数:
0