1.String类的IndexOf()方法返回的类型是?(选择2项) BC A.Int16 B.Int32 C.int D.long 2.下列关于变量定义正确的是:C A. float f = 3.14; B. bool b = “false”; C. decimal d = 12.30M; D. ...
【传送门:BZOJ1031】 简要题意: 给出一个长度为n的字符串环,可以旋转这个字符串环,可以得到n个字符串,如:原字符串为:JSOI07,可以得到JSOI07,SOI07J,OI07JS,I07JSO,07JSOI,7JSOI0,讲这些字符串按字典序从小到大排,输出这n个字符串排序后的首字母组成 ...
分类:
Web程序 时间:
2017-11-08 17:45:07
阅读次数:
184
一、插件效果 手风琴插件常用的功能均已实现,包括:手风琴菜单项的折叠展开效果、选中指定菜单项、判断菜单项是否选中等。 效果如下: 二、插件内部HTML元素结构 插件主体是一个<ul>列表,里面的奇数<li>为菜单项标题,偶数<li>是菜单项内容,标题<li>被点击时会判断它是否已经选中了,如果没有选 ...
分类:
Web程序 时间:
2017-11-08 17:42:08
阅读次数:
223
1. 源码: class Grandparent { public Grandparent() { System.out.println("GrandParent Created."); } public Grandparent(String string) { System.out.println ...
分类:
其他好文 时间:
2017-11-08 17:38:13
阅读次数:
131
自定义验证规则 方法一: 1 2 3 4 5 6 7 8 9 10 from django.forms import Form from django.forms import widgets from django.forms import fields from django.core.vali ...
分类:
其他好文 时间:
2017-11-08 17:32:36
阅读次数:
217
public static void main(String[] args) { String agent=request.getHeader("User-Agent").toLowerCase(); System.out.println(agent); System.out.println("浏览 ...
分类:
编程语言 时间:
2017-11-08 15:05:12
阅读次数:
177
Thumbnailator是一个非常好的图片开源工具 使用方法: 在pom中加入以下jar包 然后压缩和水印 只需要一行代码搞定 github源码:https://github.com/moyiblog/thumbnailator ...
分类:
编程语言 时间:
2017-11-08 14:47:24
阅读次数:
360
If you use ALTER DISKGROUP ... ADD DISK and specify a wildcard for the discovery string, whathappens to disks that are already a part of the same or a ...
分类:
其他好文 时间:
2017-11-08 14:45:24
阅读次数:
164
You are an Oracle DBA responsible for an ASM instance. The disk controller on your system fails.You suspect that the disk itself is okay. You know it ...
分类:
其他好文 时间:
2017-11-08 14:44:47
阅读次数:
179
1:环境变量 2.内存参数设置 3 .目录权限设置 改变文件目录权限的方法:执行下面命令,设置所有的tomcat安装下的文件和目录,可以保证执行,但是不是很安全。 1. 设置tomcat上级目录/opt所有用户都有读写执行权限: chmod 777 [tomcat的上级目录] 2. 设置tomcat ...
分类:
其他好文 时间:
2017-11-08 13:30:16
阅读次数:
139