码迷,mamicode.com
首页 >  
搜索关键字:ons    ( 21970个结果
【树形DP】三色二叉树
【树形DP】三色二叉树 标签(空格分隔): 树形DP #【题目】 一棵二叉树可以按照如下规则表示成一个由0、1、2组成的字符序列,我们称之为“二叉树序列S”: 0 该树没有子节点 1S1 该树有一个子节点,S1为其二叉树序列 1S1S2 该树有两个子节点,S1,S2分别为两个二叉树的序列 例如,下图 ...
分类:其他好文   时间:2020-05-28 19:28:26    阅读次数:90
查看Python对象的属性
查看Python对象的属性 https://www.cnblogs.com/klchang/p/7296058.html https://www.cnblogs.com/cenyu/p/5713686.html https://www.cnblogs.com/elie/p/6685413.html ...
分类:编程语言   时间:2020-05-28 16:47:46    阅读次数:60
SpringBoot版hello world
1、新建springboot项目 2、导入依赖pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/ ...
分类:编程语言   时间:2020-05-28 16:43:36    阅读次数:70
Sort it(树状数组逆序对)
http://acm.hdu.edu.cn/showproblem.php?pid=2689 #include<bits/stdc++.h> #define low(x) (x&(-x)) using namespace std; const int maxn=1e5+5; typedef long ...
分类:编程语言   时间:2020-05-28 13:40:31    阅读次数:88
移动端或者移动端h5需要注意的一些事
1、移动端点击a标签出现的背景色 a, a:hover, a:active, a:visited, a:link, a:focus { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: transp ...
分类:移动开发   时间:2020-05-28 13:00:37    阅读次数:87
Topological Sort
package _Sort.Algorithm.topological_sort /** * Topological Sort is for Directed Acyclic Graph(DAG,有向无环图) * A DAG Graph has least one vertex with in-de ...
分类:其他好文   时间:2020-05-28 12:46:42    阅读次数:43
python elasticsearch date_histogram聚合查询
es版本7.6。 在使用python操作es执行date_histogram后台报错“elasticsearch.exceptions.TransportError:TransportError(503...”,kibana里执行同样的条件,报“Trying to create too many b ...
分类:编程语言   时间:2020-05-28 09:16:56    阅读次数:151
微信小程序 列表中多个倒计时
app.js /** * 计算剩余时间 */ shengTime:function(options){ var t=setInterval(function(){ if(minutes<=0 || seconds<=0){ clearInterval(t) return; } var endtime ...
分类:微信   时间:2020-05-28 00:55:32    阅读次数:264
循环小数(Repeating Decimals)
题目 The decimal expansion of the fraction 1/33 is 0.03, where the 03 is used to indicate that the cycle 03repeats indefinitely with no intervening digi ...
分类:其他好文   时间:2020-05-28 00:54:20    阅读次数:110
redis 事务
事务执行时,不会中断去执行其他命令 不支持回滚,执行时某个命令出错,其他命令也会继续执行 multi set "name" "zhangsan" get "name" set "age" 18 get "age" exec multi 将客户端从非事务状态切换到事务状态 非事务状态,客户端发送的命令 ...
分类:其他好文   时间:2020-05-27 20:50:52    阅读次数:75
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!