Unique PathsA robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right a...
分类:
其他好文 时间:
2015-01-05 00:19:55
阅读次数:
231
APPLIES TO:
OracleDatabase - Enterprise Edition - Version 11.2.0.1 to 12.1.0.1 [Release 11.2 to12.1]
Informationin this document applies to any platform.
***Checked for relevance on 03-Jul-2013*** ...
分类:
其他好文 时间:
2015-01-04 23:02:26
阅读次数:
294
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[...
分类:
其他好文 时间:
2015-01-04 17:09:16
阅读次数:
125
WM_CREATE 创建一个窗口WM_DESTROY 当一个窗口被破坏时发送WM_MOVE 移动一个窗口WM_SIZE 改变一个窗口的大小WM_ACTIVATE 一个窗口被激活或失去激活状态WM_SETFOCUS 一个窗口获得焦点WM_KILLFOCUS 一个窗口失去焦点WM_ENABLE 一个窗....
分类:
其他好文 时间:
2015-01-03 21:02:21
阅读次数:
136
You are given a binary array with N elements: d[0], d[1], ... d[N - 1]. You can perform AT MOST one move on the array: choose any two integers [L, R],...
分类:
其他好文 时间:
2015-01-03 07:05:32
阅读次数:
298
共分三篇,这是第一篇。另外两篇,看完这个你还不理解右值引用和移动构造 你就可以来咬我(上),看完这个你还不理解右值引用和移动构造 你就可以来咬我(上)。
C++ 右值引用 & 新特性
C++ 11中引入的一个非常重要的概念就是右值引用。理解右值引用是学习“移动语义”(move
semantics)的基础。而要理解右值引用,就必须先区分左值与右值。...
分类:
移动开发 时间:
2015-01-02 16:07:31
阅读次数:
239
看看周围的同学,大部分是搞Web开发、移动应用开发的,并且都搞出了各种各样的成果。有的开发出了IOS游戏并提交到了苹果应用商店里,有的开发出了Android应用并参加了各种比赛,有的在老师的带领下参与老师接到的商业项目做Web开发,而我这种搞C/C++/ASM的什么也参加不了。我们学校虽然不好,但是参与软件开发的机会还是不少的,学院的老师手里经常能接到项目让我们学生参与进来,如果能参与这些项目,无...
分类:
其他好文 时间:
2015-01-02 08:37:16
阅读次数:
309
#define rdtscll(val) \__asm__ __volatile__ ("rdtsc" : "=A" (val))example#includeint i;unsigned long e;#define as(p) \__asm__ __volatile__ (p)#define r...
分类:
其他好文 时间:
2015-01-01 23:47:43
阅读次数:
311
我的大部分性能优化工作都集中在JavaScript和CSS上,从早期的Move Scripts to the Bottom和Put Stylesheets at the Top规则。为了强调这些规则的重要性,我甚至说过,“JS和CSS是页面上最重要的部分”。几个月后,我意识到这是错误的。图片才是页面...
分类:
其他好文 时间:
2015-01-01 01:31:29
阅读次数:
172