运行:cmd c:\>d: d:\>cd "\Program Files\VirtualBox" D:\Program Files\VirtualBox>VBoxManage.exe modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MBd:\> (有个简单的 ...
分类:
其他好文 时间:
2017-09-29 19:28:08
阅读次数:
278
vsCode为一个前端项目配置ts的运行环境,ts文件保存的时候自动编译成js文件 ...
分类:
其他好文 时间:
2017-09-29 19:28:00
阅读次数:
450
问题:I‘vemanagedtoblitaloadedp_w_picpathontoanotherthroughthemethod"copy_from(...)"ofrenderer_base.I‘dliketoknowhowcaniblitthesamep_w_picpathandalsospecifyingacolorthatwillNOToverwritethepixelsofthedestinationp_w_picpath(acolorthatwillthenresulttransparent..
分类:
其他好文 时间:
2017-09-29 19:26:43
阅读次数:
173
For example,{1,5,2,4,3,5,6,4,7}的最大上升子序列是{1,2,3,5,6,7}长度为6 现已知原序列a[],如何求其最大上升子序列,最大下降子序列,最大非增子序列,最大非减子序列的长度?下面贴出两种方法:1.dp, 2.贪心+二分 第一种方法比较简单,不做过多详解_ 下面 ...
分类:
其他好文 时间:
2017-09-29 19:24:53
阅读次数:
171
1. 负数不算回文数2. 我这里的做法比较简单3. 据说还要考虑溢出,不存在的噻4. 不喜欢下标运算,头晕 1 bool isPalindrome(int x) { 2 if(x < 0) 3 return false; 4 int base = 10; 5 char a[20]; 6 int i=... ...
分类:
其他好文 时间:
2017-09-29 17:59:48
阅读次数:
195
SQL查询: 5.2之后的版本: 5.2之前的版本: 5.1之前的版本: ...
分类:
数据库 时间:
2017-09-29 17:57:44
阅读次数:
207
1.地球的形状 地球的形状,顾名思义,是“球”形的。但有一些地理常识的人都应知道,地球并不是一个正球体,而是一个两极稍扁,赤道略鼓的不规则球体。如下图所示: 2. ...
分类:
其他好文 时间:
2017-09-29 17:53:55
阅读次数:
148
1. auto自动变量 2. array类 3. C++11新增了另一种引用,右值引用,是使用&&声明的: ...
分类:
编程语言 时间:
2017-09-29 17:50:24
阅读次数:
159
eclipse 对js代码报错提示:"undefined"!=typeof window?window:this,解决办法 ...
分类:
Web程序 时间:
2017-09-29 17:48:36
阅读次数:
249
Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of ...
分类:
其他好文 时间:
2017-09-29 17:46:55
阅读次数:
146