1)func Contains(s, substr string) bool这个函数是查找某个字符是否在这个字符串中存在,存在返回true 示例如下: import ( "fmt" "strings" ) func main() { fmt.Println(strings.Contains("wid ...
分类:
其他好文 时间:
2020-04-09 13:05:39
阅读次数:
120
[TOC] 一 按时间创建文件 源码 源码执行控制台打印: 当前年月日时分秒时间:2020 01 16 11_19_12 当前年月日:2020 01 16 当前文件目录:D:\git\gongcheng 目录新建成功:D:\git\gongcheng\2020 01 16\ 切换后的目录位置:D:\ ...
分类:
编程语言 时间:
2020-04-09 12:55:19
阅读次数:
88
一、安装androidstudio打开androidstudio--左上角perference--搜索AndroidSDK选择好路径安装勾选内容,安装即可然后下载安装模拟器这里需要选择一个不带google服务的来下载,否则下载后可能会运行报错新版的androidstudio没有sdktools下载,需要自行下载放到sdk目录下参考地址:https://www.androiddevtools.cn/
分类:
移动开发 时间:
2020-04-09 00:06:22
阅读次数:
550
"Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. "The second problem is, given an positiv ...
分类:
其他好文 时间:
2020-04-08 22:33:31
阅读次数:
83
1.下载哔哩.apk到本地和夜神 2.获取包名:D:\Andriod_SDK\build-tools\27.0.1>aapt dump badging D:\iBiliPlayer-bili.apk name='tv.danmaku.bili' 3.获取入口 appActivity-App启动入口 ...
分类:
移动开发 时间:
2020-04-08 09:17:29
阅读次数:
187
一、使用函数。 import random:import语句将random模块导入程序中。 guessesTaken = 0:储存猜过的次数。 random.randint():调用random中的randint(x,y)函数,此函数创建一个随机数字。 for i in range(6):range ...
分类:
其他好文 时间:
2020-04-06 11:43:24
阅读次数:
74
如何使用OpenCV+OpenVINO实现人脸检测与landmark检测。
分类:
其他好文 时间:
2020-04-06 09:41:30
阅读次数:
724
题目描述: # You live in the city of Cartesia where all roads are laid out in a perfect grid.# You arrived ten minutes too early to an appointment, so you ...
分类:
其他好文 时间:
2020-04-06 00:16:25
阅读次数:
94
当windows程序出现异常、界面卡顿、无响应情况时,在有工程和源码的情况下,程序员通常是打开IDE,在DEBUG模式下进行调试。但如果是一个RELEASE程序,且无调试环境,该如何来定位呢。 这里介绍一下通过adplus导出dump文件,用windbg来查看的方法。 windbg 在这之前,先大概 ...
均为 Simple 难度的水题。 "二叉树的中序遍历" 题目[94]:给定一个二叉树,返回它的 中序 遍历。 解题思路:Too simple. "相同的树" 题目[100]:给定两个二叉树,编写一个函数来检验它们是否相同。如果两个树在结构上相同,并且节点具有相同的值,则认为它们是相同的。 示例 解题 ...
分类:
其他好文 时间:
2020-04-05 20:41:48
阅读次数:
69