码迷,mamicode.com
首页 >  
搜索关键字:sel    ( 12804个结果
214 · 数组的最大值
描述 给一个浮点数数组,求数组中的最大值。 样例 样例 1: 输入: [1.0, 2.1, -3.3] 输出: 2.1 样例解释: 返回最大的数字 样例 2: 输入: [1.0, 1.0, -3.3] 输出: 1.0 样例解释: 返回最大的数字。 class Solution: """ @param ...
分类:编程语言   时间:2021-04-09 13:16:14    阅读次数:0
Oracle数据库与MySQL的不同之处
select 。。。 for update;排它锁,注意选中某几行 1.在PLSQL DEVELOPER中不会自动提交事务,insert update 后需要手动提交事务 2.oracle 中没有主键自增,主键使用sequence或者sysuuid, ||连接两个字段 3.伪列:列本身不存在,但是却 ...
分类:数据库   时间:2021-04-07 11:46:34    阅读次数:0
Oracle trunc()函数的用法
Oracle trunc()函数的用法 --Oracle trunc()函数的用法/**************日期********************/1.select trunc(sysdate) from dual --2013-01-06 今天的日期为2013-01-062.select ...
分类:数据库   时间:2021-04-07 10:36:11    阅读次数:0
在Springboot项目下面是如何组装Bean的(下)-Bean实例化
这里主要关注onRefresh和finishBeanFactoryInitialization: 我们选择看finishBeanFactoryInitialization(beanFactory);,经过调试最终会调用AbstractBeanFactory#doGetBean方法创建Bean: fi ...
分类:编程语言   时间:2021-04-06 15:13:51    阅读次数:0
LeetCode1
解法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 log
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
5708. 统计一个数组中好对子的数目
给你一个数组 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
hdu3639Hawk-and-Chicken(无向图缩点+dfs)
题目描述: 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
python自动统计zabbix系统监控覆盖率
脚本主要功能: 1)通过zabbix api接口采集所有监控主机ip地址; 2)通过cmdb系统(蓝鲸)接口采集所有生产主机IP地址、主机名、操作系统、电源状态; 3)以上2步返回数据对比,找出未监控主机ip地址,生成csv文件; 4)发送邮件。 脚本如下: #!/usr/bin/python #c ...
分类:编程语言   时间:2021-04-05 12:04:28    阅读次数:0
LeetCode: 回溯法
回溯法 全排列 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
12804条   上一页 1 ... 13 14 15 16 17 ... 1281 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!