题目描述 众所周知,佳爷是集训队最强,他经常喜欢鄙视集训队最菜的PC,这天他又来了,他丢给PC一道题目: 给你一个字符串,该字符串只包含符号 '(’ 和 ‘)', ,我们称那些左右括号可以一一对应的括号字符串为完美字符串, 比如"()()()", "((()))", "((()))()()", 都是 ...
分类:
其他好文 时间:
2019-12-15 21:41:14
阅读次数:
170
ex2_1_1 // 形参是数组,实参是数组名 #include <stdio.h>#include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); // 函数声明 int main() { int a[N] ...
分类:
其他好文 时间:
2019-12-15 18:39:50
阅读次数:
82
// 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); // 函数声明 i ...
分类:
其他好文 时间:
2019-12-15 18:08:51
阅读次数:
59
// 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); // 函数声明 i ...
分类:
其他好文 时间:
2019-12-15 14:49:24
阅读次数:
92
例:vs code 中输入 div.list>div.item_$*6 摁下回车键就会生成如下代码 <div class="list"> <div class="item_1"></div> <div class="item_2"></div> <div class="item_3"></div> ...
分类:
其他好文 时间:
2019-12-15 14:47:07
阅读次数:
667
写一个json对象,但需求需要是带空格的键,定义的话很容易定义,只需要双引号引起来即可,但取值的时候怎么取,直接写 会报错,所以就有了下边的办法 <el-form-item label="活动名称"> <el-input v-model="form['miss name']"></el-input> ...
分类:
Web程序 时间:
2019-12-15 14:40:32
阅读次数:
232
1.wsgiref.py 2.werzeug.py 3.三件套 4.配置文件 5.路由本质 6.cbv.py 7.路由转化器 8.自定义转化器 9.模板语言 10.session原理 11.templatess ...
分类:
编程语言 时间:
2019-12-15 14:34:23
阅读次数:
95
// 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); // 函数声明 i ...
分类:
其他好文 时间:
2019-12-15 12:25:56
阅读次数:
56
z https://detail.tmall.com/item.htm?id=601391726801&spm=a1z09.2.0.0.60082e8dMiX0LM&_u=e1qf7bf5a4cc 垃圾接线图,店家的资料根本没有,自己试出来的,差评 z 还有一个公式矫正 ,忽略了 以下代码是在25度 ...
分类:
其他好文 时间:
2019-12-15 11:04:05
阅读次数:
173
1287. Element Appearing More Than 25% In Sorted Array ...
分类:
其他好文 时间:
2019-12-15 10:53:07
阅读次数:
66