题目:判断一个数是不是回文数Determine whether an integer is a palindrome. Do this without extra space.思路:借助上一道求整数逆序的思路,判断逆序后的数和原数是否相等就行。要注意,负数都不是回文数11506 / 11506 te...
分类:
其他好文 时间:
2015-06-23 19:48:42
阅读次数:
111
skyline软件常用的有TB,TG和TE,TB和TE安装没有什么特殊要求。而TG安装稍微麻烦一下,在安装过程中也会遇到一些问题。这里说一下TG的安装方法:1、将IIS在程序中勾选上,因为模型发布要用到IIS2、服务没法启动有两个原因,原因之一,端口冲突,修改一下地形服务端口即可;其二,地形服务无法...
分类:
其他好文 时间:
2015-06-22 22:01:10
阅读次数:
679
Train Problem I
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 25008 Accepted Submission(s): 9435
Problem Description
As the new te...
分类:
其他好文 时间:
2015-06-20 14:21:16
阅读次数:
96
前面介绍了Ternary Search Tree和它的实现,那么可以用Ternary Search Tree来实现搜索框的只能提示,因为Ternary Search Tree的前缀匹配效率是非常高的,总体思路如下(其中很多可以根据自己的需要修改,我只是写出我的做法):比如搜索歌曲时智能提示:建立Te...
分类:
其他好文 时间:
2015-06-18 15:13:08
阅读次数:
115
1、Ctrl+ Alt + t 试一下打开ROMterm终端,想换回默认的终端2、安装 dconf-tools, sudo apt-get install dconf-tools3、打开dconf-tools,就像Windows的注册表一样,打开 org > gnome > desktop > te...
分类:
系统相关 时间:
2015-06-18 12:56:44
阅读次数:
192
copy muma.exe \\host\c$\windows\temp\foobar.exe ##IPC拷贝木马文件 WMIC远程运行命令wmic /node:host /user:administrator /p 密码 process call create “c:\windows\te...
分类:
其他好文 时间:
2015-06-17 21:10:23
阅读次数:
200
#测试网址: http://localhost/blog/testurl.php?id=5//获取域名或主机地址 echo $_SERVER['HTTP_HOST'].""; #localhost//获取网页地址 echo $_SERVER['PHP_SELF'].""; #/blog/te...
分类:
Web程序 时间:
2015-06-16 19:05:46
阅读次数:
166
UiCollection描述:用于枚举界面容器元素,通过文本或者描述来计数或者定位子元素公共构造函数UiCollection(UiSelector selector)公共方法UiObjectgetChildByDescription(UiSelector childPattern,String te...
分类:
其他好文 时间:
2015-06-16 16:21:41
阅读次数:
132
tenpay.dll:MD5Util.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Security.Cryptography;namespace te...
分类:
微信 时间:
2015-06-13 18:22:51
阅读次数:
377
一.安装xcode先安装 [Xcode](http://developer.apple.com/xcode/) 开发工具,它将帮你安装好 Unix 环境需要的开发包二.安装 RVMcurl -L https://get.rvm.io | bash -s stable三.载入 RVM 环境(新开 Te...
分类:
系统相关 时间:
2015-06-13 01:09:17
阅读次数:
211