首页 > 其他
字符串处理
#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long ll;#define N 2011111char str[1111];int s...
分类:其他   时间:2015-01-02 08:34:48    收藏:0  评论:0  赞:0  阅读:294
最短路径·一
#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long ll;#define N 2011111struct PP{ int v,...
分类:其他   时间:2015-01-02 08:34:38    收藏:0  评论:0  赞:0  阅读:200
《微软-私有云》-研究-2015-01-01-1100
作者:刘金丰QQ:316191099目标:微软私有云研究。方法:完成-前期-研究,再-向-下-冲!1.时间:开始时间:2015-01-11-1100。2.地点:上海。3.环境3.1.访问-远程-开机-网址http://192.168.1.2503.2.开机3.3.远程-桌面远程-成功4.私有云-平台4.1.计算机名-IP地址4.2.Hyper-V4.3.虚..
分类:其他   时间:2015-01-02 07:33:19    收藏:0  评论:0  赞:0  阅读:305
Device eth0 does not seem to be presen,delaying initialization
Linux系统坏了,硬盘换到别的服务器上,配置ip后不通,提示启动网卡启动失败报错例如:Deviceeth0doesnotseemtobepresen,delayinginitialization解决方法一:Cat/etc/udev/rules.d/70-persistent-net.rules查看本机网卡设备的名称和对应mac信息Viifcfg-eth0类似的网卡文件,修..
分类:其他   时间:2015-01-02 07:32:59    收藏:0  评论:0  赞:0  阅读:259
主键与索引的区别与联系
关系数据库依赖于主键,它是数据库物理模式的基石。主键在物理层面上只有两个用途:惟一地标识一行。作为一个可以被外键有效引用的对象。索引是一种特殊的文件(InnoDB数据表上的索引是表空间的一个组成部分),它们包含着对数据表里所有记录的引用指针。下面是主键和索引的一些..
分类:其他   时间:2015-01-02 07:32:39    收藏:0  评论:0  赞:0  阅读:296
vm虚拟机的网卡一直是灰色的
vm虚拟机的网卡一直是灰色的解决方法:1:检查网络连接适配器,对应虚拟机连接的vm虚拟网卡有没有启动,建议禁用,重新启用一下;2:开始→运行→services.msc查看vmwareNATservice服务,启动该服务或者重启该服务;然后在启动虚拟机。经常使用虚拟机的建议开机启动此服务!!3..
分类:其他   时间:2015-01-02 07:31:59    收藏:0  评论:0  赞:0  阅读:295
CentOS 6.5 x64 RHCS GFS配置
实验环境:CentOS6.5x64RHCSGFS配置说明:本文出自:http://koumm.blog.51cto.com1.通过Openfiler实现iscsi共享存储2.通过VMwareESXi5虚拟fence实现fence功能。3.结合Centos6.5vmware-fence-soap实现RHCSfence设备功能。4.通过搭建RHCS实验环境测试GFS2功能。一、准备基础环境1...
分类:其他   时间:2015-01-02 07:31:39    收藏:0  评论:0  赞:0  阅读:638
[LeetCode]145 Binary Tree Postorder Traversal
https://oj.leetcode.com/problems/binary-tree-postorder-traversal/http://blog.csdn.net/ljphhj/article/details/21369053/** *Definitionforbinarytree *publicclassTreeNode{ *intval; *TreeNodeleft; *TreeNoderight; *TreeNode(intx){val=x;} *} */ publicclassSolution..
分类:其他   时间:2015-01-02 07:31:29    收藏:0  评论:0  赞:0  阅读:236
[LeetCode]113 Binary Tree Postorder Traversal
https://oj.leetcode.com/problems/path-sum-ii/http://fisherlei.blogspot.com/search?q=Path+Sum+II+/** *Definitionforbinarytree *publicclassTreeNode{ *intval; *TreeNodeleft; *TreeNoderight; *TreeNode(intx){val=x;} *} */ publicclassSolution{ publicList<List&..
分类:其他   时间:2015-01-02 07:31:09    收藏:0  评论:0  赞:0  阅读:285
扩展rhel5.9下使用lvm管理的/分区
扩展rhel5.9下使用lvm管理的/分区...
分类:其他   时间:2015-01-02 07:30:28    收藏:0  评论:0  赞:0  阅读:444
好的前端架构
我们知道,好的编码约定和最佳实践非常重要,但是文档架构呢?建立一个好的文档架构是开始一个网站或者APP的基础,我们如何建立一个结构清晰、便于维护的文档架构呢? 我们的目标:1)需要一个多页面项目(网站或者APP)2)需要项目支持多屏幕尺寸,换句话说,需要实现响应式布局3)最终产品易维护4)最终产品性能良好5)未来项目可套用该模板...
分类:其他   时间:2015-01-02 07:30:21    收藏:0  评论:0  赞:0  阅读:487
C开发基础--函数调用栈
发现有一些问题几乎是所有的新人都会遇到,而且也常因为缺乏一些基本的知识而无从下手。函数调用栈的内容就是其中之一。于是花点时间把以前写的内容整理出来。 程序在运行期间,内存中有一块区域,用来实现程序的函数调用机制。这块区域是一块LIFO的数据结构区域,我们可以叫函数栈(调用栈)。每个未退出的函数都会....
分类:其他   时间:2015-01-02 07:29:38    收藏:0  评论:0  赞:0  阅读:352
代理-不完全
package?org.web.proxy; import?java.lang.reflect.Method; public?class?Context?implements?MethodProxy?{ public?String?method?=?null; public?String?service?=?null; public?S...
分类:其他   时间:2015-01-02 06:28:29    收藏:0  评论:0  赞:0  阅读:311
[ES6] 17. Set
Es6 provides "Set", it likes array but the data inside should be unqiue."Set" is a construct function, you should call:var s = new Set();Methods:1.add...
分类:其他   时间:2015-01-02 06:26:38    收藏:0  评论:0  赞:0  阅读:358
[leetcode] Scramble string
题目:Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representat...
分类:其他   时间:2015-01-02 06:26:28    收藏:0  评论:0  赞:0  阅读:296
[ES6] 18. Map
ES6 provides Map, it is a set of k-v pair. Key can be number, string, object, function and even undefined.var m = new Map();Methods:1. set(k,v)m.set("...
分类:其他   时间:2015-01-02 06:26:18    收藏:0  评论:0  赞:0  阅读:283
Trie树
#include#include#include#include#include#include#include#includeusing namespace std;typedef long long ll;#define N 1000000000#define Max 11111struct t...
分类:其他   时间:2015-01-02 06:26:08    收藏:0  评论:0  赞:0  阅读:296
数字三角形
#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long ll;#define N 2011111ll mm[222][222];int ...
分类:其他   时间:2015-01-02 06:25:58    收藏:0  评论:0  赞:0  阅读:273
01背包
#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long ll;#define N 2011111int dp[555555];int m...
分类:其他   时间:2015-01-02 06:25:48    收藏:0  评论:0  赞:0  阅读:271
Maven常用插件参数
1.clean: 清理默认路径以外的文件 [...] maven-clean-plugin 2.6.1 some/relative/path自定义要清理的文件,相对路径 **/*.tmp **/*.log ...
分类:其他   时间:2015-01-02 06:25:28    收藏:0  评论:0  赞:0  阅读:304
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!