A - Petr and a calendar (water) 题意:在2017年,m是月份,d是这个月第一个是星期几。问这个月的日历需要多少行。 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int INF = 0x3f3f3f ...
分类:
其他好文 时间:
2017-01-24 21:49:01
阅读次数:
255
java.util.AbstractList<E> 源码分析(JDK1.7) java.util.AbstractList<E>是一个抽象类,它的定义如下: (1)从上面可以看出java.util.AbstractList<E>好复杂哟,它不光有那么多的方法,而且还有2个内部类,这都还不算,它的类文 ...
分类:
编程语言 时间:
2017-01-24 17:47:19
阅读次数:
272
public Integer convertStringToInt(String pSource) { try { return Integer.valueOf(FergusonStringUtils.trim(pSource)); } catch (NumberFormatException e) ...
分类:
其他好文 时间:
2017-01-24 17:29:07
阅读次数:
169
存储过程格式 1 create or replace procedure 存储过程名 ([参数] [参数类型],[参数] [参数类型]) 2 as 3 4 successc number; 5 failc number; 6 begin 7 insert into [表名]( 8 字段, 9 . 1 ...
分类:
数据库 时间:
2017-01-24 17:20:23
阅读次数:
227
引言: 接上一篇文章,对@RequestMapping进行地址映射讲解之后,该篇主要讲解request 数据到handler method 参数数据的绑定所用到的注解和什么情形下使用; 简介: handler method 参数绑定常用的注解,我们根据他们处理的Request的不同内容部分分为四类: ...
分类:
编程语言 时间:
2017-01-24 14:37:54
阅读次数:
505
应客户需求,需要做sharepoint SSO,以前都是默认的AD验证,如果客户已经有一套SSO系统,验证过SSO之后就能自动登录,而不是浏览器上设置保存用户名密码的AD登陆。 怎么做呢? 首先sharepoint是asp.net衍生而来,对于asp.net所有内核同样适用于sharepoint。 ...
分类:
其他好文 时间:
2017-01-24 12:36:52
阅读次数:
191
Internal Compiler Error VS 2015 Update1 VS2015 Update1 编译OpenMesh的额代码时发生错误 fatal error c1001 编译器中发生内部错误 OpenMesh6.3 (compiler file 'f:\dd\vctools\comp... ...
分类:
其他好文 时间:
2017-01-24 12:25:23
阅读次数:
1008
Use Compressed Sparse Row Format (CSR) to represent matrix 1 #include "cuda_runtime.h" 2 #include "device_launch_parameters.h" 3 #include "gputimer.h" ...
分类:
其他好文 时间:
2017-01-24 12:21:32
阅读次数:
358
【ActionBar】 The ActionBar APIs were first added in Android 3.0 (API level 11) but they are also available in the Support Library for compatibility wit ...
分类:
其他好文 时间:
2017-01-24 07:45:32
阅读次数:
196
1.首先,创建(新)用户: create user username identified by password; username:新用户名的用户名 password: 新用户的密码也可以不创建新用户,而仍然用以前的用户,如:继续利用scott用户2.创建表空间: create tablespa ...
分类:
数据库 时间:
2017-01-23 21:35:28
阅读次数:
252