问题描述: Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are le ...
分类:
其他好文 时间:
2020-02-12 10:51:16
阅读次数:
65
Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less tha ...
分类:
其他好文 时间:
2020-02-11 19:26:40
阅读次数:
79
加减乘除不说了,反正就是两幅相同的图片运用cv.add(), cv.substract(),cv.multiply(), cv.divide()等实现 逻辑运算就是cv.bitewise_and(),cv.bitewise_or()等等 #调节亮度 import cv2 as cv import n ...
分类:
其他好文 时间:
2020-02-10 12:08:40
阅读次数:
83
Given a non-negative integer num, return the number of steps to reduce it to zero. If the current number is even, you have to divide it by 2, otherwis ...
分类:
其他好文 时间:
2020-02-10 10:02:26
阅读次数:
76
今天过得比昨天更充实,晚上依然想玩一会,幸好没有人想陪我玩,于是就搁置了。 Berlin 是高中之前就给他的备注了,他是个知道奋发向上的人,初中我就看出来了。向他学习吧 今早上学习Vicky的课,很认真,英文写作最重要的就是逻辑性,今天写一下属于自己的东西 10-12 数学相关内容 但其实没看多少 ...
分类:
其他好文 时间:
2020-02-09 23:36:04
阅读次数:
83
题目如下: Given a non-negative integer num, return the number of steps to reduce it to zero. If the current number is even, you have to divide it by 2, ot ...
分类:
其他好文 时间:
2020-02-09 18:31:58
阅读次数:
64
前言 群里有小伙伴咨询微信红包的架构,对于我来说,显然是不知道的,但是写一个相对高并发的抢红包案例还是完全可以的。 架构设计 业务流程 老板发红包,此时缓存初始化红包个数,红包金额(单位分),并异步入库。 抢红包,判断缓存剩余红包金额,剩余金额大于零则抢到红包,否则手慢了,红包派完了 拆红包,根据 ...
分类:
微信 时间:
2020-02-06 19:44:50
阅读次数:
135
每天凌晨2点 0 0 2 * * ?和每天隔一小时 0 * */1 * * ? 例1:每隔5秒执行一次:*/5 * * * * ? 例2:每隔5分执行一次:0 */5 * * * ? 在26分、29分、33分执行一次:0 26,29,33 * * * ? 例3:每天半夜12点30分执行一次:0 30 ...
分类:
编程语言 时间:
2020-02-05 20:37:18
阅读次数:
154
容器技术的核心功能,就是通过约束和修改进程的动态表现,从而为其创造出一个“边界”。 对于 Docker 等大多数 Linux 容器来说,Cgroups 技术是用来制造约束的主要手段,而 Namespace 技术则是用来修改进程视图的主要方法。 当 Docker 创建一个容器时,它会创建新的六种 na ...
分类:
系统相关 时间:
2020-02-04 23:20:41
阅读次数:
97
android studio apply script build.gradle 卡死 buildscript { repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} google() } ...
分类:
移动开发 时间:
2020-02-04 11:00:47
阅读次数:
83