Vasya has the square chessboard of size n?×?n and m rooks. Initially the chessboard is empty. Vasya will consequently put the rooks on the board one a ...
分类:
其他好文 时间:
2017-05-18 22:11:46
阅读次数:
158
正则表达式通过通配符技术来匹配字符,常用在表单信息合法性验证上。 正则表达式有两种形式: 特殊符号和字符的匹配需要用到转义字符 "\": 字符类的用法: 重复类的用法: 定位符的用法: 分组和标志: 正则表达式对象的方法: 示例1: 匹配字符串“adahwewerwer234”中,以a开头,以d~g ...
分类:
编程语言 时间:
2017-05-18 15:47:37
阅读次数:
209
DZY loves chessboard, and he enjoys playing with it. He has a chessboard of n rows and m columns. Some cells of the chessboard are bad, others are goo ...
分类:
其他好文 时间:
2017-05-18 15:44:03
阅读次数:
213
Problem Description There are n types of cells in the lab, numbered from 1 to n. These cells are put in a queue, the i-th cell belongs to type i. Each ...
分类:
其他好文 时间:
2017-05-18 09:51:53
阅读次数:
217
TimePicker(时间选择器) 方法 描述 Integer getCurrentHour () 返回当前设置的小时 Integer getCurrentMinute() 返回当前设置的分钟 boolean is24HourView() 判断是否是24小时制 void setCurrentHour ...
分类:
移动开发 时间:
2017-05-17 19:58:07
阅读次数:
224
自动化测试中经常遇到这个问题,关于这个题目,方法众多,咱的目的是找个比较简单靠谱的: 方法一: 先进入cmd窗口,adb shell 后: cd /data/data ls 可以看到包名了吧,缺点很明显,必须root手机先 方法二: 先进入cmd窗口: adb shell ps|findstr /i ...
分类:
移动开发 时间:
2017-05-16 19:18:15
阅读次数:
265
1.groupBox 属性重写,增加边框,事件paint 2.用户控件和窗体之间的传值 在实例化用户控件的时候,可以直接创窗体,这样在用户控件中就可以调用窗体之间的值,可以在窗体中声名一个public公共的变量,用户控件中赋值之后,在次在窗体调用 3.dataGridView控件的用法: ...
1 implode 使用一个字符串将数组变成字符串 1 2 3 4 5 6 7 8 9 10 11 <br><?php $array = array('lastname', 'email', 'phone'); $comma_separated = implode(",", $array); ech ...
分类:
编程语言 时间:
2017-05-15 15:42:10
阅读次数:
288
一、输入框 1、字符型输入框: (1)字符型输入框:英文全角、英文半角、数字、空或者空格、特殊字符“~!@#¥%……&*?[]{}”特别要注意单引号和&符号。禁止直接输入特殊字符时,使用“粘贴、拷贝”功能尝试输入。 (2)长度检查:最小长度、最大长度、最小长度-1、最大长度+1、输入超工字符比如把整 ...
分类:
Web程序 时间:
2017-05-14 23:44:43
阅读次数:
326
java中常用的包、类、以及包中常用的类、方法、属性 常用的包 java.io.*; java.util.*; java.lang.*; java.sql.*; java.text.*; java.awt.*; javax.swing.*; 包名 接口 类 方法 属性 java.sql.*; sta ...
分类:
数据库 时间:
2017-05-14 01:04:09
阅读次数:
241