; Basic Block Input Regs: rax - Killed Regs: 0000000000048353 3D8419D411 cmp eax, 0x11d41984 - Killed Regs: rax000000000004835a 488D058F6D0300 lea r.....
分类:
其他好文 时间:
2014-07-22 22:53:57
阅读次数:
252
Trie树,第一次写,简单的建树+搜索它的思路hiho上讲得很清楚,good~ 1 #include 2 #include 3 using namespace std; 4 char word[11]; 5 int n,m; 6 struct trie 7 { 8 int num; 9 ...
分类:
其他好文 时间:
2014-07-19 21:17:39
阅读次数:
205
python提供了两种特别的方法来定义函数的参数:1. 位置参数 *args,把参数收集到一个元组中,作为变量args >>>def show_args(*args): #定义函数 print args>>>show_agrs("hello", "world") #调用函数输出:("hell...
分类:
编程语言 时间:
2014-07-19 21:09:57
阅读次数:
275
一、大小写转换 1、strtolower()--转换为小写。 echo strtolower("Hello WORLD!"); //hello world! 2、strtoupper()--转换为大写。 echo strtoupper("Hello WORLD!"); //HELLO W...
分类:
Web程序 时间:
2014-07-19 20:13:39
阅读次数:
263
1.启动hadoop守护进程 bin/hadoop start-all.sh2.在hadoop的bin目录下建立一个input文件夹 mkdire input3.进入input目录之后,在input目录下新建两个文本文件,并想其写入内容echo "hello excuse me fuck thank...
分类:
其他好文 时间:
2014-07-18 23:39:00
阅读次数:
350
#include
#include
using namespace std;
void hello()
{
cout<<"hello kitty"<<endl;
}
int main()
{
std::thread t(hello);
t.join();
return 0;
}...
分类:
编程语言 时间:
2014-07-18 23:03:18
阅读次数:
343
这里介绍如何进行Bing Maps的开发。首先我们需要在我们的程序中引入Bing Map的SDK。具体方法,这里推荐一个链接使用Bing地图。这样一个hello world便出来了。这里主要介绍一些基本的API,进行一些基础性的开发。
在整个开发中,给我感触最深的是,在网上资料稀少的情况下,查看研究Bing Map给出的API是最有效的方法(Map API)。也许API的注释是模棱两可,但只要我...
Hat’s Words
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 7502 Accepted Submission(s): 2705
Problem Description
A hat’s word i...
分类:
其他好文 时间:
2014-07-18 22:09:01
阅读次数:
218
疯狂的暑假学习之 Django学习笔记(五)—— 表单
参考:《The Django Book》 第7章
1. HttpRequest对象的信息
request.path 除域名以外的请求路径,斜杠开头 “/hello/”
request.get_host() 主机名 ...
分类:
其他好文 时间:
2014-07-18 21:21:43
阅读次数:
655
Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is a valid dictionary word.Return all such possibl...
分类:
其他好文 时间:
2014-07-17 00:52:21
阅读次数:
376