把环境,编辑器,版本这些都弄清楚,说不好还能把FCL类库弄懂个大概???:)[DateTime]::IsLeapYear(2008)$result =
[DateTime]"06/21/2008" - [DateTime]::Now$result.TotalDaysdircd c:pwdcd \cd...
分类:
其他好文 时间:
2014-05-16 08:55:15
阅读次数:
285
if exists(select * from master.sys.sysprocesses
where spid in (select blocked from
master.sys.sysprocesses))begin---确定进程被锁住的其他资源select spid 进程,STATUS ...
分类:
其他好文 时间:
2014-05-16 06:38:48
阅读次数:
329
Mr. White, a fat man, now is crazy about a game
named ``Dance, Dance, Revolution". But his dance skill is so poor that he could
not dance a dance, eve...
分类:
其他好文 时间:
2014-05-15 16:57:57
阅读次数:
502
题意:求1-n(n
解法:数位dp。LL dp[pre][now][have][iflow][rem]记录着第pre位为now,have表示前边是否出现过13,iflow表示dp过程否有降低,rem表示后续需要的余数是多少。
代码:/******************************************************
* author:xiefubao
...
分类:
其他好文 时间:
2014-05-14 19:29:37
阅读次数:
266
//只扩展为wstring,不考虑编码
std::wstringString2WString(conststd::string&str)
{
std::wstringwstr(str.length(),L‘‘);
std::copy(str.begin(),str.end(),wstr.begin());
returnwstr;
}
//只拷贝低字节至string中
std::stringWString2String(conststd::wstring&ws..
分类:
其他好文 时间:
2014-05-14 15:58:11
阅读次数:
262
令\[S_i=\sum_{k=1}^n k^i
m^k\]我们有\[\begin{eqnarray*}(m-1)S_i & = & mS_i - S_i \\& = &
\sum_{k=1}^n k^i m^{k+1} - \sum_{k=1}^n k^i m^k \\& = & \sum_{k=2...
分类:
其他好文 时间:
2014-05-14 10:45:13
阅读次数:
357
$\bf命题:$设$\int_a^{ + \infty } {f\left( x \right)dx}
$收敛,若$\lim \limits_{x \to \begin{array}{*{20}{c}} {{\rm{ + }}\infty }
\end{array}} f\left( x \righ...
分类:
其他好文 时间:
2014-05-14 09:49:48
阅读次数:
341
这里先给出一段代码:function a(){ setTimeout(function(){
console.log("setTimeout") },2000); function oneSecond(){ var now = new Date()...
分类:
其他好文 时间:
2014-05-14 09:20:02
阅读次数:
271
设\[\mathop {\lim }\limits_{x \to
\begin{array}{*{20}{c}}{{a^ + }}\end{array}} f\left( x \right) = \mathop {\lim
}\limits_{x \to \begin{array}{*{20}{c}...
分类:
其他好文 时间:
2014-05-14 08:33:45
阅读次数:
310
设\[\mathop {\lim }\limits_{x \to
\begin{array}{*{20}{c}}{{a^ + }}\end{array}} f\left( x \right) = \mathop {\lim
}\limits_{x \to \begin{array}{*{20}{c}...
分类:
其他好文 时间:
2014-05-14 08:32:48
阅读次数:
245