字符串操作${#string}输出字句的字符个数${string:position:length}输出$position开始的length长度的字符${string:position}[root@ilovescripts]#liuyifei="ilikesanpanilikeluoswimming"
[root@ilovescripts]#echo${#liuyifei}
33
[root@ilovescripts]#echo${liuyifei:2:4}
li..
分类:
系统相关 时间:
2016-07-07 22:45:23
阅读次数:
257
字符串操作${#string}输出字句的字符个数${string:position:length}输出$position开始的length长度的字符${string:position}[root@ilovescripts]#liuyifei="ilikesanpanilikeluoswimming"
[root@ilovescripts]#echo${#liuyifei}
33
[root@ilovescripts]#echo${liuyifei:2:4}
li..
分类:
系统相关 时间:
2016-07-07 22:43:54
阅读次数:
191
有两POJO类 Address.java User.java JSP页面 控制器类: 测试: 1、进入jsp页面: 2、点击提交后,控制台输出 User [username=caoyc, password=123456, gender=male, hobby=tv,swimming, address ...
分类:
编程语言 时间:
2016-07-02 17:15:38
阅读次数:
257
继承对某一批类的抽象,减少代码量,便于方法的修改,类的管理子类不能继承父类:①构造方法②私有属性和方法③使用默认修饰符不在同包下继承初始化:父类属性->父类构造方法->子类属性->子类构造方法继承有哪些:①重载②重写③接口④父类对象引用指向子类对象重写规则:①..
分类:
编程语言 时间:
2016-06-07 22:32:49
阅读次数:
326
DescriptionAfter making bad dives into swimming pools, Wilbur wants to build a swimming pool in the shape of a rectangle in his backyard. He has set u...
分类:
其他好文 时间:
2015-12-14 16:43:53
阅读次数:
195
F. The Pool for Lucky OnesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100637/problem/FDescriptionA new swimming pool has been ...
分类:
其他好文 时间:
2015-07-25 01:41:16
阅读次数:
184
F. The Pool for Lucky OnesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100637/problem/FDescriptionA new swimming pool has been ...
分类:
其他好文 时间:
2015-07-24 20:16:55
阅读次数:
126
C. Tavas and PashmaksTavas is a cheerleader in the new sports competition named "Pashmaks".This competition consists of two part: swimming and then ru...
分类:
其他好文 时间:
2015-04-16 21:50:12
阅读次数:
168
/*Swimming时间限制:1000ms |
内存限制:65535KB难度:1描述Peipei likes swimming. Strange that he always swims from a
coner to the counter corner inthe way bellow(that...
分类:
其他好文 时间:
2014-05-22 14:14:27
阅读次数:
291