这两天看了下锚点的概念。 /** * Sets the anchor point in percent. * * anchorPoint is the point around which all transformations and positioning manipulations t...
分类:
其他好文 时间:
2015-03-10 11:53:40
阅读次数:
128
(Version 1.0)这题在LeetCode的标签有Dynamic Programming,但是实际上的能通过OJ的解法好像不应该被称为DP,感觉这个tag貌似比较有欺骗性。一家之见。由Regular Expression Matching的解法而来的DP解法探究这题在LeetCode中的标签是...
分类:
其他好文 时间:
2015-03-10 06:47:26
阅读次数:
161
tag 类似 asp.net 用户控件,用于动态显示HTML我首先在项目 /WebContent/WEB-INF/ 建立 tags目录 用于存放 tag文件新建一个message.tag 文件,如下: 消息:${msg } 描述: ${description }在JSP界面中需要使用,...
分类:
Web程序 时间:
2015-03-08 15:29:36
阅读次数:
201
http://www.cnblogs.com/gcg0036/p/4321278.html Saving Key-Value Sets: 如果想保存一个相对较小的key-values集合,可以使用 SharedPreferences API. SharedPreferences对象指向包含key-v...
分类:
其他好文 时间:
2015-03-08 06:46:03
阅读次数:
179
U-BOOT 给linux 内核传递合适参数的定义,在include/configs/mini2440.h#define CONFIG_SETUP_MEMORY_TAGS 1#define CONFIG_INITRD_TAG 1#define CONFIG_CMDLINE_TAG 1制作uImage...
分类:
其他好文 时间:
2015-03-08 00:01:51
阅读次数:
342
#include#include#includeusing namespace std;struct node{ int address; int data; int next; bool tag;}Node[100066];bool cmp(node a,node b){ if(a.ta...
分类:
其他好文 时间:
2015-03-07 18:25:51
阅读次数:
132
Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets,
and Nt is the total number of distinct n...
分类:
其他好文 时间:
2015-03-07 17:13:09
阅读次数:
156
#include#include#includeusing namespace std;struct Student{ int ID; int score[6]; int perfect; int sum; int rank; bool tag;}S[10066];int p[6]; ...
分类:
其他好文 时间:
2015-03-07 16:59:05
阅读次数:
134
SELECT distinct a.企业名称
,stuff((SELECT ';'+ Tag FROM [JUSFOUN].[dbo].[重庆-贵州企业_处理_整合] WHERE 企业名称=a.企业名称 FOR xml path('')),1,1,'') AS BODY
FROM [JUSFOUN].[dbo].[重庆-贵州企业_处理_整合] a
group by a...
分类:
数据库 时间:
2015-03-07 14:17:02
阅读次数:
126
#include#include#include#includeusing namespace std;const int MAX=1010;bool tag[MAX]; //标记BFS是是否被访问过struct node{ int ID; //编号 int layer; ...
分类:
其他好文 时间:
2015-03-07 06:15:02
阅读次数:
165