It is not as easy as I thought it to be, mostly because of time\space limitation. And actually that's the punch line of this problemMy intuition was D...
分类:
其他好文 时间:
2014-08-13 08:00:25
阅读次数:
250
~~~~
题意: 给你一个R*C的图,求其由图中连通‘#“所组成的矩形的个数。
注意:If the ships
were placed correctly (i.e., there are only rectangles that do not touch each other even with a corner), print the sentence "There are S shi...
分类:
其他好文 时间:
2014-08-13 01:16:24
阅读次数:
242
1、推荐的书目Inside Visual C++ (4th)Programming Windows 95 with MFCMFC Internals2、DDK:撰写驱动程序(DRV)或虚拟设备驱动器(VxD),需要理解操作系统(汇编、C的天下)3、No touch,no chance4、提升基本功(...
分类:
其他好文 时间:
2014-08-13 01:06:54
阅读次数:
202
本文主要讲解如何使用sencha touch的api以及如何查看api中官方示例源码前期准备1.sdk下载地址:http://www.sencha.com/products/touch/download/填写对应信息及邮箱地址点Download即可,你会在邮箱里面收到下载邮件,如图所示:随意解压到任...
我觉得 这题 是纯粹的 并查集 可以算成 入门题吧问你有几章桌子 就是问你有几个 连通块嘛 一个道理 touch me这题 我采用了下 father[x]开始 初始化为-1 1 #include 2 #include 3 using namespace std; 4 5 const in...
分类:
其他好文 时间:
2014-08-13 00:50:14
阅读次数:
176
1.在iscroll4的滚动容器范围内,点击input框、select等表单元素时没有响应这个问题原因在于iscroll需要一直监听用户的touch操作,以便灵敏的做出对应效果,所以它把其余的默认事件屏蔽了,解决的方法是,在iscroll4源码里面找到这一行, onBeforeScrollStart...
分类:
其他好文 时间:
2014-08-12 16:25:44
阅读次数:
156
#import /*@"i386" on the simulator@"iPod1,1" on iPod Touch@"iPod2,1" on iPod Touch Second Generation@"iPod3,1" on iPod Touch Third Generation@"iPod4,1...
分类:
其他好文 时间:
2014-08-12 13:20:14
阅读次数:
182
Duck punch我们先不谈AOP编程,先从duck punch编程谈起。如果你去wikipedia中查找duck punch,你查阅到的应该是monkey patch这个词条。根据解释,Monkey patch这个词来源于 guerrilla patch,意为在运行中悄悄的改变代码,而 guer...
分类:
编程语言 时间:
2014-08-12 13:02:04
阅读次数:
209
新建一个工程,选择framework & library - Cocoa Touch Static Library,命名为TestKit。删除不必要的文件。TestKitTests 和TestKit target。
新建一个Bundle 。new-file-target;选择OS X目录下FrameWork&Library中的Bundle,取名为TestiOSKit。删除TestiOSKit中T...
分类:
其他好文 时间:
2014-08-11 17:48:52
阅读次数:
246
由于Sencha Touch 2这种开发模式的特性,基本决定了它原生的数据交互行为几乎只能通过AJAX来实现。当然了,通过调用强大的PhoneGap插件然后打包,你可以实现100%的Socket通讯和本地数据库功能,又或者通过HTML5的WebSocket也可以实现与服务器的通讯和服务端推功能,但这...
分类:
Web程序 时间:
2014-08-11 17:26:22
阅读次数:
346