题目:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: P...
分类:
其他好文 时间:
2015-05-03 23:27:29
阅读次数:
113
计划缓存(Plan Cache)如果SQL Server已经找到一个好的方式去执行一段代码时,应该把它作为随后的请求重用,因为生成执行计划是耗费时间且资源密集的,这样做是有有意义的。如果没找到被缓存的计划,然后命令分析器(Command Parser)在T-SQL基础上生成一个查询树(query t...
分类:
数据库 时间:
2015-05-03 00:44:03
阅读次数:
267
POJ2175 Evacuation Plan 最小费用流 负权消去
The City has a number of municipal buildings and a number of fallout shelters that were build specially to hide municipal workers in case of a nuclear war. Each fallout shelter has a limited capacity in terms of a numbe...
分类:
其他好文 时间:
2015-05-02 09:54:06
阅读次数:
200
1.题目Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrome."race a car" is not a pali...
分类:
其他好文 时间:
2015-05-01 18:46:29
阅读次数:
129
持久层框架MyBatis是支持普通 SQL查询,存储过程和高级映射的优秀持久层框架MyBatis消除了几乎所有的 JDBC 代码和参数的手工设置以及结果集的检索 MyBatis使用简单的 XML或注解用于配置和原始映射,将接口和 Java 的POJOs(Plan Old Java Objects,普...
分类:
其他好文 时间:
2015-04-29 13:11:00
阅读次数:
152
This year is the 60th anniversary of NJUST, and to make the celebration more colorful, Tom200 is going to invite distinguished alumnus back to visit and take photos.
After carefully planning, Tom200 announced his activity plan, one that contains two char...
分类:
其他好文 时间:
2015-04-29 10:07:17
阅读次数:
149
11624 Fire!
Joe works in a maze. Unfortunately, portions of the maze have caught onfire,and the owner of the maze neglected to create a firee scape plan.Help Joe escape the maze.
Given ...
分类:
其他好文 时间:
2015-04-28 22:59:05
阅读次数:
179
在實現MRP自動跑需求前,必須明白MRP是要在兩個層次做設置,才能自動跑需求的MRP需求計算公式:A = B*C -DA:實際需求B:需求數量C:BOM標準用量D:可用數量(PO/計劃訂單等)1、工廠層次spro->Production->Material Requirements Planning...
分类:
其他好文 时间:
2015-04-24 12:00:18
阅读次数:
165
最近在进行一期的优化,先把数据库中最耗时的前N个语句查询出来!
SELECT TOP 10 qp.query_plan,qt.text,total_worker_time
from sys.dm_exec_query_stats
CROSS APPLY sys.dm_exec_sql_text(sql_handle) qt
CROSS APPLY sys.dm_exec_query...
分类:
数据库 时间:
2015-04-23 07:14:25
阅读次数:
207