"A system image must be selected to continue"在使用AndroidStudio创建虚拟机的时候遇到了"A system image must be selected to continue"这个问题 这里明显是缺少了systemImage,解决方法如下 打 ...
分类:
移动开发 时间:
2020-02-20 17:08:08
阅读次数:
370
变量和常量是编程中必不可少的部分,也是很好理解的一部分。 标识符与关键字 标识符 在编程语言中标识符就是程序员定义的具有特殊意义的词,比如变量名、常量名、函数名等等。 Go语言中标识符由字母数字和_(下划线)组成,并且只能以字母和_开头。 举几个例子:abc, _, _123, a123。 关键字 ...
分类:
编程语言 时间:
2020-02-18 18:46:39
阅读次数:
68
字符串格式化及字符串的一些方法 1.%s,%d 举例1:name='egon' age=20 print("my name is %s my age is %s" %(name,age))#%s既能接受字符串,也能接受数字 print(‘my name is %s my age is %d’ %(n ...
分类:
其他好文 时间:
2020-02-17 20:17:29
阅读次数:
95
先缩点构造出一颗树,然后求树的直径就好 const int maxn=3e5+5; const int maxm=6e5+5; const int inf=1e9; int head[maxn],ver[maxm],nex[maxm],tot; void inline AddEdge(int x,i ...
分类:
其他好文 时间:
2020-02-17 20:12:31
阅读次数:
86
GET产生一个TCP数据包;POST产生两个TCP数据包。 对于GET方式的请求,浏览器会把http header和data一并发送出去,服务器响应200(返回数据); 而对于POST,浏览器先发送header,服务器响应100 continue,浏览器再发送data,服务器响应200 ok(返回数 ...
分类:
其他好文 时间:
2020-02-17 14:07:46
阅读次数:
51
目录 "页内跳转" "序列" "列表" "有序列表" "无序列表" "ToDo列表" "分级标题" "分割线" "表格" "常用添加" "图片" "代码" "代码块" "行内嵌入代码" "引用" "普通引用" "嵌套引用" "链接" "特殊符号" "字体设置" "数学公式" 1.页内跳转 示范:A→ ...
分类:
其他好文 时间:
2020-02-16 21:09:21
阅读次数:
101
树的深度 求树的深度 树的宽度 求树的宽度 ~~总结:全是送分题~~ ...
分类:
其他好文 时间:
2020-02-16 16:32:13
阅读次数:
53
1 循环控制语句: break continue goto 2 3 for : 重复执行语句块 4 func main(){ 5 //例a : 6 sum := 0 7 for i := 0; i <= 10; i++ { 8 sum += i 9 } 10 fmt.Println(sum) 11 ...
分类:
其他好文 时间:
2020-02-16 16:11:21
阅读次数:
71
1、数组 for…of是支持 break、continue、return的,所以在功能上非常贴近原生的 for。 2、箭头函数 let test = { name: 'test', say: () => { console.log(this.name, this) } } console.log(t ...
分类:
其他好文 时间:
2020-02-16 14:55:04
阅读次数:
68
2.1、变量的组成:- 字母- 数字- 下划线2.2、要求:数字不能开头不能是关键字最好不好和python内置的东西重复 *** Python关键字,也不能使用 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'e... ...
分类:
其他好文 时间:
2020-02-16 14:44:48
阅读次数:
62