1、按ALT+CTRL+F1切换到字符界面(Linux实体机) 如果是VMware虚拟机安装的Linux系统,则切换到字符界面的时候需要以下操作 按下ALT+CTRL+SPACE(空格),ALT+CTRL不松开,再按F1。这样就可以切换到字符界面了。2、按ALT+CTRL+F7切换到图形界面(Lin...
分类:
其他好文 时间:
2014-07-07 12:03:39
阅读次数:
231
【Transform & Physics】1、Space。Unity定义了Space枚举值,此值如下: 通常通过Space.World、Space.Self来区别一个Vector是按世界坐标系作用还是按本地坐标系作用。参考:file:///D:/Program%20Files%20(x86)/...
分类:
其他好文 时间:
2014-07-03 10:38:28
阅读次数:
182
Blowing up HTML5 video and mapping it into 3D space(将HTML5视频吹散并组成3D效果)最近我研究了HTML 5中的Canvas 和Video 标签,并发现了一些很酷的特性。其中之一就是Canvas.drawImage() api。此为详细介绍。C...
分类:
Web程序 时间:
2014-07-03 00:41:16
阅读次数:
1001
The Story:Last week, I found one of our embedded arm linux device ran out of flash space( totally only 128M for apps and OS).After checking for a whil...
分类:
其他好文 时间:
2014-07-02 14:30:13
阅读次数:
317
【题目】
Sort a linked list in O(n log n) time using constant space complexity.
【题意】
排序一个链表,要求时间复杂度O(nlogn),使用常量空间
【思路】
nlogn的复杂度,用归并排序求解...
分类:
其他好文 时间:
2014-07-02 09:25:40
阅读次数:
252
Sort a linked list in O(n log n)
time using constant space complexity.
看到O(n log n)的排序算法,适合单链表的首先想到的就是归并排序
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* Lis...
分类:
其他好文 时间:
2014-07-02 08:47:34
阅读次数:
239
【题目】
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
click to show clarification.
Clarification:
What constitutes a word?
A sequence of non-space characters constitutes a word....
分类:
其他好文 时间:
2014-07-02 08:34:34
阅读次数:
170
step1.
下载Acronis Disk Director Suite工具,随便一搜都能下载的到。
step2.
这个软件使用很简单,网上有很多图文教程。扩充盘使用Increase the free space 功能
1 主界面单击Increase the free space -》选中要扩充的磁盘(这里扩充的是c盘)—》NEXT
2 选中被用来补充C盘的容量的磁盘...
his topic describes the memory limits for supported Windows and Windows Server releases.Memory and Address Space LimitsPhysical Memory Limits: Windows...
多重背包,本题不需要二分优化。相对简单点。因为重复数十分小,小于10;
而增加一个限制每种材料的高度做法,如果使用逆向填表,那么只需要从这个高度往小递归填表就可以了。
还有就是注意要排序,以限制高度为标准从小到大排序,否则答案错误的。
#include
#include
#include
using std::sort;
const int MAX_K = 401;
const in...
分类:
其他好文 时间:
2014-07-01 16:08:42
阅读次数:
213