题目:Given an input string, reverse the string word
by word.For example,Given s = "the sky is blue",return "blue is sky
the".Clarification:What constitu...
分类:
其他好文 时间:
2014-05-13 22:45:04
阅读次数:
317
1 #include 2 #include 3 #include 4 using namespace
std; 5 6 int get2(long long n){ 7 if(n==0) 8 return 0; 9 int cnt =0;10 whi...
分类:
其他好文 时间:
2014-05-13 21:03:03
阅读次数:
329
1 char * strcat(char * dest, const char * src)
{ 2 assert(dest != NULL && src != NULL); 3 char * p = dest; 4 while (*p)
5 p++; 6 ...
分类:
其他好文 时间:
2014-05-13 20:30:10
阅读次数:
272
1 /** 2 极角排序输出,,, 3 主要atan2(y,x) 容易失精度,,用 4 bool
cmp(point a,point b){ 5 if(cross(a-tmp,b-tmp)>0) 6 return 1; 7
if(cross(a-tmp,b-tmp)...
分类:
其他好文 时间:
2014-05-13 20:05:34
阅读次数:
242
大致题意:给出一个整数n,(1 int n,flat;unsigned long long
b;void DFS(unsigned long long a,int step){ if(flat||step==19) { return ; }
if(a%n==0)...
分类:
其他好文 时间:
2014-05-13 19:59:23
阅读次数:
276
create or replace function get_sal1(id
employees.employee_id%type) return number is sal employees.salary%type;begin sal
:= 0; select salary into s...
分类:
数据库 时间:
2014-05-13 19:41:58
阅读次数:
456
string str=textBox1.Text; object bs = new
DataTable().Compute(str, null); textBox1.Text =bs.ToString();
分类:
其他好文 时间:
2014-05-13 19:37:53
阅读次数:
296
在学习unity3d的时候很容易看到下面这个例子:1 void Start () {2
StartCoroutine(Destroy());3 }4 5 IEnumerator Destroy(){6 yield return
WaitForSeconds(3.0f);7 ...
分类:
其他好文 时间:
2014-05-13 19:16:24
阅读次数:
380
在ob_clean();或ob_get_clean()之前有return或致命错误,从而结束了程序,会导致ob_start失效,这和phpunit的非正常结束
分类:
Web程序 时间:
2014-05-13 18:36:16
阅读次数:
267
Integer与int的区别int是java提供的8种原始数据类型之一。Java为每个原始类型提供了封装类,Integer是java为int提供的封装类。int的默认值为0,而Integer的默认值为null,即Integer可以区分出未赋值和值为0的区别,int则无法表达出未赋值的情况,例如,要想...
分类:
其他好文 时间:
2014-05-13 09:41:31
阅读次数:
227