HTTP HEAD 生成方法NSMutableURLRequest *request =
[NSMutableURLRequest requestWithURL:url cachePolicy:0
timeoutInterval:kTimeout];request.HTTPMethod = @"HE...
分类:
移动开发 时间:
2014-07-22 23:09:35
阅读次数:
435
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given
a linked list, remove thenthnode from the end of list and return its he...
分类:
编程语言 时间:
2014-05-01 06:42:15
阅读次数:
332
问题 等值首尾和 假设有一个数组x[],它有n个元素,每一个都大于零;称x[0] + x[1]
+ … + x[i]为前置和(Prefix Sum),而x[j] + x[j+1] + … + x[n-1]为后置和(Suffix
Sum)。试编写一个程序,求出x[]中有多少组相同的前置和与后置和。 最...
分类:
其他好文 时间:
2014-05-01 00:14:05
阅读次数:
743
Call for PapersInternational Conference for
Smart Health (ICSH) 2014Beijing, China July 10-11,
2014http://www.icsh2014.orgAdvancing Informatics for he...
分类:
其他好文 时间:
2014-04-29 15:57:28
阅读次数:
433
#全角转半角
#ljl
use Encode;
sub CheckSBC
{
my ($name)=@_;
my @character;
my $tmpname=$name;
my $headname;
my $k=0;
for($ii=1; $ii 0)
{
my $he...
分类:
其他好文 时间:
2014-04-29 13:36:21
阅读次数:
366
在接手别人的项目时发现一个问题:-Prefix.pch
预编译文件不能使用。1.首先借鉴的网站:http://blog.csdn.net/duxinfeng2010/article/details/8287550targets---build
settings---prefix Header 修改为...
分类:
移动开发 时间:
2014-04-29 09:22:46
阅读次数:
492
题目描述
Cainiao is a university student who loves ACM contest very much. It is a festival for him once when he attends ACM Asia Regional Contest because he always can find some famous ACMers there.
C...
分类:
其他好文 时间:
2014-04-28 10:33:40
阅读次数:
340
When Vito Maretti writes an important letter he encrypts it. His method is not very reliable but it’s enough to make any detective understand nothing in that letter. Sheriff doesn’t like such state
...
分类:
其他好文 时间:
2014-04-27 21:45:00
阅读次数:
459
前提:你的Linux下有已经搭建好的交叉编译链(如arm-linux-gcc 4.3.2),并且已经设置好环境变量。
export PATH=/usr/local/arm/4.3.2/bin:/$PATH
1.下载文件如:qt-everywhere-opensource-src-4.6.3.tar.gz解压
2.裁剪QT
./configure -prefix /usr/loc...
分类:
其他好文 时间:
2014-04-27 21:26:59
阅读次数:
363