1 """ 2 We are given head, the head node of a linked list containing unique integer values. 3 4 We are also given the list G, a subset of the values i ...
分类:
其他好文 时间:
2020-02-01 23:05:58
阅读次数:
64
字典用花括号创建 message = {'name': 'dida', 'age': "19"} print(message['age']) 字典是一系列键-值对,可以通过键访问与之相关联的值与键相关联的值可以是任意类型的对象 message['height'] = 176#添加新的对象 del m ...
分类:
其他好文 时间:
2020-02-01 23:02:49
阅读次数:
92
Project: Src<<mian<<java:存放java代码 src<<mian<<res<< drawable:存放图片,自定义的.xml文件 Layout:activity存放布局文件 Mipmap- :存放图片和logo Values:颜色、文字、样式; AndroidManfest. ...
分类:
其他好文 时间:
2020-02-01 21:03:54
阅读次数:
97
1、创建一个num表,用来存储数字0~9 CREATE TABLE num (i int); 2、在num表中生成0~9 INSERT INTO num (i) VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9); 3、生成一个存储日期的表 ...
分类:
数据库 时间:
2020-02-01 01:00:22
阅读次数:
286
作用: 相当于对错误作了二次处理,可以让用户看懂。 如果程序出现错误回出现回滚,加上异常处理后不会对本程序的修改回滚。 可以任何时候设置报错,从而达到中断目的。 如果程序出现错误,可以使其报错的同时完成程序其他的语句。(PL/SQL嵌套) 系统预定义异常(有名字的错误代码) TOO_MANY_ROW ...
分类:
数据库 时间:
2020-02-01 00:50:25
阅读次数:
120
Bessie noted that although humans have many universities they can attend, cows have none. To remedy this problem, she and her fellow cows formed a new ...
分类:
其他好文 时间:
2020-01-31 10:34:26
阅读次数:
62
当update一个对象时,可以用Map 在 xml 中 values 的值就是map的key,map的value是前端传来的,这样就不用parameterType=“********.user” 更新时就少些很多<if test=" pwd != null">去判断 ...
分类:
其他好文 时间:
2020-01-31 10:30:57
阅读次数:
186
Select Form List By Value关键字——模拟通过下拉列表的Value值来 选中 指定的 下拉列表的选项 该关键字接收[ locator | *valuess ]多个参数,locator可以通过id、name等来进行元素定位; values可以允许传入多个; Select Form ...
分类:
其他好文 时间:
2020-01-31 01:02:31
阅读次数:
98
Given an array A of 0s and 1s, we may change up to K values from 0 to 1. Return the length of the longest (contiguous) subarray that contains only 1s. ...
分类:
其他好文 时间:
2020-01-31 00:59:06
阅读次数:
67
这次主要是悬系的下拉框Spinner和数字转轮NumberPicker的使用。先分析相关的用到的知识点。 在Android中,用string-array是一种简单的提取XML资源文件数据的方法。 例子如下: 把相应的数据放到values文件夹的arrays.xml文件里 <?xml version= ...
分类:
移动开发 时间:
2020-01-30 19:29:03
阅读次数:
122