//form==>http://www.cnblogs.com/2050/archive/2012/08/10/2632256.htmlhaha
555555555555555555555555555555555haha 555555555555555555555555555555555 wor.....
分类:
其他好文 时间:
2014-05-26 21:02:51
阅读次数:
263
URL 只是一个 路径 : 协议头:// 域名/ 资源 (就是要查询的内容)
比如http://m.baidu.com/s?word=iOS 上面的是 手机版的域名 UIWebView : 也是一个IOS 程序的控件 能拖 能用代码实现
能设置代理 ...
分类:
Web程序 时间:
2014-05-26 14:17:06
阅读次数:
310
DFS算法,非常容易TLE,需要一个boolean矩阵来记录是否访问过某个节点。写DFS主要就是两个方法:用recursion或者Stack,
用recursion会带来time和memory的cost增加,而且因为要用矩阵做argument,
所以非常担心TLE或者MLE的问题。但是用recurs...
分类:
其他好文 时间:
2014-05-26 13:03:20
阅读次数:
273
Word SearchGiven a 2D board and a word, find if
the word exists in the grid.The word can be constructed from letters of
sequentially adjacent cell, wh...
分类:
其他好文 时间:
2014-05-26 08:21:06
阅读次数:
310
1.如何隔离封面等不需要插入页码的页面:
首先插入分节符下一页(一定是分节符),再在下一页(即要开始插入页码的页面)选择视图-->页眉和页脚-->设置为取消链接到前一页、设置页码格式为起始页码-->插入页码2.如何插入去除封面的总页数:
你只需要用总页数减去封面页数就行了,象平时一样插入总的页数,按...
分类:
其他好文 时间:
2014-05-26 05:30:35
阅读次数:
254
官网的驱动需要多个文件,为了提取ENC28J60驱动,改写如下:
原数据类型定义:
typedef unsigned char BYTE; /* 8-bit unsigned */
typedef unsigned short int WORD;...
分类:
其他好文 时间:
2014-05-26 05:02:58
阅读次数:
488
题目连接:uva 417 - Word Index
题目大意:按照题目中的要求,为字符串编号,现在给出字符串,问说编号为多少,注意字符串必须为递增的,否则编号为0。
解题思路:其实就是算说比给定字符串小并且满足递增的串由多少个。dp[i][j]表示第i个位为j满足比给定字符串小并且满足递增的串。
dp[i][j]=∑k=0j?1dp[i?1][k].
注意每次要处理边界的情况,并且...
分类:
其他好文 时间:
2014-05-24 22:59:44
阅读次数:
304
LDA整体流程先定义一些字母的含义:文档集合D,topic集合TD中每个文档d看作一个单词序列,wi表示第i个单词,设d有n个单词。(LDA里面称之为word
bag,实际上每个单词的出现位置对LDA算法无影响)D中涉及的所有不同单词组成一个大集合VOCABULARY(简称VOC)LDA以文档集合D...
分类:
其他好文 时间:
2014-05-23 03:28:59
阅读次数:
562
Given an input string, reverse the string word
by word.For example,Given s = "the sky is blue",return "blue is sky the". 1
Class Solution{ 2 public: ....
分类:
其他好文 时间:
2014-05-23 02:59:21
阅读次数:
260
The translation from the Berland language into the Birland language is not an easy task. Those languages are very similar: a berlandish word differs from a birlandish word with the same meaning a litt...
分类:
其他好文 时间:
2014-05-23 02:27:26
阅读次数:
587