127. Word Ladder Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from begin ...
分类:
Web程序 时间:
2019-05-23 00:13:45
阅读次数:
147
Apache log4j 1.2 - Short introduction to log4jhttps://logging.apache.org/log4j/1.2/manual.html log4j日志配置 方法_百度经验https://jingyan.baidu.com/article/ab0b ...
分类:
Web程序 时间:
2019-05-22 09:42:39
阅读次数:
107
一、GIT 基础: 1、取得项目的仓库 git init git add FILES git clone [https/http、ssh、git] 2、记录每次更新到仓库 git status git status -s 或 git status --short .gitignore git dif ...
分类:
其他好文 时间:
2019-05-21 13:05:29
阅读次数:
116
byte a =1; byte b = 2; byte c =3; c = a + b;(这条语句会报错) 原因:java中在对基本数据类型变量进行算数运算或者是按位运算,只要类型比 int 小的(即char,byte或者short),那么在运算之前, 这些值都会被自动的转换成i int 类型,而变 ...
分类:
编程语言 时间:
2019-05-19 19:27:13
阅读次数:
165
[TOC] 一、实验内容及步骤 1、Android Studio的安装测试 要求: 参考http://www.cnblogs.com/rocedu/p/6371315.html SECANDROID,安装 Android Stuidio 完成Hello World, 要求修改res目录中的内容,He ...
分类:
移动开发 时间:
2019-05-19 16:55:55
阅读次数:
160
1.在xadmin后台,手动添加数据: 2.在apps/trade/目录下新建序列化文件serializers.py: 3.在apps/trade/views.py中编写获取价格表数据的视图类: 4.在apps/trade/目录下新建urls.py: 5.gg/urls.py中: ...
分类:
微信 时间:
2019-05-19 09:33:10
阅读次数:
149
著名出题人小Q每次比赛后都会写一份《赛题分析》,包含比赛概况、每题的参考算法以及一些统计数值。 对于一道题来说,小Q会统计最短的验题人代码长度(Shortest judge solution)以及赛内参赛队伍最短的AC代码长度(Shortest team solution)。 统计验题人代码长度比较 ...
分类:
其他好文 时间:
2019-05-18 20:34:34
阅读次数:
114
数组可以保存多个元素,但在某些情况下无法确定到底要保存多少个元素,此时数组将不再适用,因为数组的长度不可变。 为了保存这些数目不确定的元素,JDK中提供了一系列特殊的类,这些类可以存储任意类型的元素,并且长度可变,统称为集合。 ArrayList集合是程序中最常见的一种集合,它属于引用数据类型(类) ...
分类:
其他好文 时间:
2019-05-18 09:48:27
阅读次数:
154
自定义注解类格式: 访问权限修饰符: 只能使用public或默认(default)这两个。 例如: 属性类型: 所有基本数据类型(int,float,boolean,byte,double,char,long,short) String类型 Class类型 enum类型 Annotation类型 以 ...
分类:
其他好文 时间:
2019-05-15 20:29:44
阅读次数:
157
8种基本数据类型的包装类:byte Byteshort Shortint Integerlong Longchar Characterfloat Floatdouble Doubleboolean Boolean 注意没有String 包装类的对象是引用型的。 将字符串转换为基础数据类型的两种方法: ...
分类:
其他好文 时间:
2019-05-12 15:54:06
阅读次数:
131