Imagine that you are in a building that has exactly n floors. You can move between the floors in a lift. Let's number the floors from bottom
to top with integers from 1 to n.
Now you're on the flo...
分类:
其他好文 时间:
2014-10-22 01:07:40
阅读次数:
217
http://www.cnblogs.com/zhaoqingqing/p/3401747.html截止到目前的Unity4.2版本,要在手机平台上播放影片,有两种方法:使用Unity自带的Move Texturehttp://docs.unity3d.com/Documentation/Scrip...
分类:
移动开发 时间:
2014-10-20 17:06:02
阅读次数:
291
http://yunfeng.sinaapp.com/?p=465 ? android GridView 如何禁止滚动 设置gridview 的touch事件,是ACTION_MOVE 的话返回true mDragGrid.setOnTouchListener(new OnTouchListener() { ????????????...
分类:
移动开发 时间:
2014-10-20 15:29:39
阅读次数:
266
【题目】
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down o...
分类:
其他好文 时间:
2014-10-19 21:25:37
阅读次数:
247
在做一个PHP文件上传系统的时候,使用move_uploaded_file进行文件上传,提示下面两个warning,不能成功上传文件Warning: move_uploaded_file(upload/songshu_rgb.gif) [function.move-uploaded-file]: f...
分类:
Web程序 时间:
2014-10-19 12:52:49
阅读次数:
162
转载:http://blog.csdn.net/swingboard/article/details/27207497So today let’s talk about devm functions as that is what I have been upto the past couple o...
分类:
其他好文 时间:
2014-10-18 19:38:24
阅读次数:
292
获取ZF的值, 可用SETE指令(zf值放到al中), 也可以用 JNZ JNE 跳转指令间接获得, 请看下面这段代码:char *s1 = "123";char *s2 = "1234";__asm{ xor al, al mov edi, s1 mov ecx, -1 repnz sc...
分类:
其他好文 时间:
2014-10-18 10:58:49
阅读次数:
188
int strcmpA(char *s1, char *s2){ __asm { xor al, al mov ecx, -1 repnz scasb not ecx mov edi, s1 mov esi, s2 repe cmpsb mov eax, ecx //eax中存放...
分类:
其他好文 时间:
2014-10-18 10:58:38
阅读次数:
181
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-10-17 23:26:43
阅读次数:
231
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the ...
分类:
其他好文 时间:
2014-10-16 19:10:33
阅读次数:
225