1 var optionalName : String? = "Skiy Chan"String? = "Skiy Chan" 中的问号是什么意思?目前还在看api和视频教程,暂时还没弄懂这个意思。特别是api中的那串代码:var optionalString : String? = "Hello"...
分类:
其他好文 时间:
2014-06-25 22:45:27
阅读次数:
244
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:
其他好文 时间:
2014-06-25 22:41:33
阅读次数:
274
将XML格式字符串,写入数据集的表1中命名空间:using System.Xml; string strRead;//strRead为以下xml值 XmlDocument xd = new XmlDocument(); xd.LoadXml(strRead); ...
分类:
其他好文 时间:
2014-06-25 22:22:57
阅读次数:
265
Java连接redis的使用演示样例 Redis是开源的key-value存储工具,redis通经常使用来存储结构化的数据,由于redis的key能够包括String、hash、listset和sorted list。 Redisserver眼下最稳定的版本号是2.8.9,能够到官网http://r...
分类:
编程语言 时间:
2014-06-25 22:19:07
阅读次数:
355
声明:本博客为原创博客,未经同意,不得转载!小伙伴们假设是在别的地方看到的话,建议还是来csdn上看吧(原文链接为http://blog.csdn.net/bettarwang/article/details/26744661),看代码和提问、讨论都更方便。 Java中final的作用主要表如今.....
分类:
编程语言 时间:
2014-06-25 22:02:42
阅读次数:
299
Webservice传递的数据只能是序列化的数据,典型的就是xml数据。 /// /// 通过用户名和密码 返回下行数据/// /// 用户名/// 密码/// [WebMethod]public XmlDataDocument GetUpMassageDate(string UserNam...
分类:
Web程序 时间:
2014-06-25 21:57:33
阅读次数:
329
问题描述:Time Limit: 10000msCase Time Limit: 1000msMemory Limit: 256MBDescriptionConsider a string set that each of them consists of {0, 1} only. All stri...
分类:
其他好文 时间:
2014-06-25 21:54:20
阅读次数:
258
xml文件格式如下: localhost sa jiayuan 读取节点中的一个属性 XmlDocument doc=new XmlDocument(); doc.Load("confi...
分类:
Web程序 时间:
2014-06-24 14:31:40
阅读次数:
178
一改时间以后WA了,我就知道这题是考字典树,可惜代码怎么也不会敲了,郁闷。#include #include #include typedef struct Node{ int flag;struct Node *next[26];}Node,*Tree;char a[200010][6];int ...
分类:
其他好文 时间:
2014-06-24 14:31:01
阅读次数:
161
-(void)downImage{ AlbumInfo *info = [self.dataArray objectAtIndex:index]; NSString *filePath = [[SandBoxPath pathForCaches]stringByAppendingPathComp.....
分类:
其他好文 时间:
2014-06-24 10:59:35
阅读次数:
231