Page 2 Line 1, "reads" should be "read".Page 2 Line 5, "are initial velocity and initial magnetic field" should be"are initial velocity and initial ma...
分类:
其他好文 时间:
2014-07-31 16:47:06
阅读次数:
217
index.html dsFrameWork_Core.js/* * MAP对象,实现MAP功能 * * 接口: * size() 获取MAP元素个数 * isEmpty() 判断MAP是否为空 * clear(...
分类:
其他好文 时间:
2014-07-31 16:40:46
阅读次数:
225
“我在类库中调用System.Web.HttpContext.Current.Session, 他是null值,有没有办法取到这个值? 但是我在另一个类库中就可以取到; 两个类都是非page类, session里面肯定是非空的 ”,网上有人在问这个问题,我后来在编程的时候也碰到了。 我的情况是...
分类:
Web程序 时间:
2014-07-31 16:36:16
阅读次数:
244
简单DP,可以理解为背包问题的变式。(想当初苯渣会错题意,以为只要输出任意一组解啊!结果一趟DFS在第14个点上WA三次啊!TUT)(第14个点上WA的一定是用贪心或一趟DFS做的!)首先找到10000以内的super_prime,共201个。(不是打表- -)这部分代码可以在行到行找到。然后DP:...
分类:
其他好文 时间:
2014-07-31 16:35:46
阅读次数:
199
情况一:同个一个Xml文件中的同名在同个一个Xml文件的中若同名了,则前一个有效,而后一个无效情况二:在不同的Xml 文件中的同名在不同Xml文件的Id若同名了,两者都有效的。当android的工程越来越大。xml文件越来越多时,避免不了两个xml文件中同 样的组件使用同样的id名字,gen目录下的...
分类:
移动开发 时间:
2014-07-31 16:31:46
阅读次数:
246
fontawesometext:fa_icon="fa-github"the icon to place, as per theFont Awesome Cheat Sheetandroid:textSize="12sp"Text size must always be in sp!android:...
分类:
其他好文 时间:
2014-07-31 16:29:46
阅读次数:
272
#include #include #include #define MAX 27typedef struct node{ int v; struct node *next[MAX];}Trie;Trie *root;void creatTrie(char *str){ int i...
分类:
其他好文 时间:
2014-07-31 16:23:26
阅读次数:
212
#include#includestd::string formatt(const char * format,...){ va_list args; (void)va_start(args,format); std::string retstr; size_t size = 1024; while...
分类:
其他好文 时间:
2014-07-31 16:23:06
阅读次数:
187
一种错误的写法:int * x = (int *)malloc(5 * sizeof(int));int * y = (int *)malloc(5 * sizeof(int));y = x;没有必要为y开辟内存,因为y在开辟内存时 y内存储的地址时开辟的内存的位置, 但是后面又把x的值赋给了y, ...
分类:
编程语言 时间:
2014-07-31 16:16:26
阅读次数:
224
形如: public string _customValue { set { _customValue = value; } get { return _customValue; } }这是属性,用于封装字段的,一般类中的字段都是private,不允许外部直接访问,必须通过属性来访问,这样能提...
分类:
其他好文 时间:
2014-07-31 16:06:46
阅读次数:
165