Wormholes Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 52062 Accepted: 19373 Description While exploring his many farms, Farmer John has ...
分类:
其他好文 时间:
2017-07-22 13:26:22
阅读次数:
190
1052 - See car Time Limit:2s Memory Limit:64MByte Submissions:594Solved:227 1052 - See car Time Limit:2s Memory Limit:64MByte Submissions:594Solved:22 ...
分类:
其他好文 时间:
2017-07-22 11:06:00
阅读次数:
134
以面向对象的思想和简单工厂模式。写一个C++计算器程序,代码例如以下: #include <iostream> using namespace std; class Operation { public: Operation(double left, double right) { lhs = le ...
分类:
其他好文 时间:
2017-07-22 10:58:23
阅读次数:
191
Given a string, reverse it without using any temporary variables. This problem is a variation of the problem swapping two integers without using any t ...
分类:
其他好文 时间:
2017-07-22 09:54:24
阅读次数:
212
题目原文: Given two integer arrays of size n , design a subquadratic algorithm to determine whether one is a permutation of the other. That is, do they co ...
分类:
编程语言 时间:
2017-07-22 00:06:56
阅读次数:
226
1、定义 1.1 标准定义 建造者模式( Builder Pattern) 也叫做生成器模式, 其定义如下: Separate the construction of a complex object from its representation so that the same construc ...
分类:
其他好文 时间:
2017-07-21 23:17:36
阅读次数:
275
Linux中的安装ActiveMQ5.14.11、下载相关ActiveMQ安装包下载路径:http://activemq.apache.org/download.html下载最新安装包,选择Linux版进行下载2、解压重命名(1)解压:#tar-zxvfapache-activemq-5.14.1-bin.tar.gz-C/usr/local(2)重命名activeMQ#mvapache-activemq-5.14..
分类:
系统相关 时间:
2017-07-21 22:04:40
阅读次数:
210
nfs服务是实现Linux和Linux之间的文件共享,nfs服务的搭建比较简单。 现在介绍如何在红帽6.5系统中搭建nfs服务。 1、关闭selinux服务 如果已经关闭该服务的可以直接跳过该步骤。 临时关闭 只对当前有效,电脑重启之后,该服务又会重新启动,所以一般选择永久关闭。 永久关闭 打开se ...
分类:
其他好文 时间:
2017-07-21 01:32:43
阅读次数:
210
echo命令 功能:显示字符 (末尾自带换行功能) 语法:echo [-neE][字符串] 说明:echo会将输入的字符串送往标准输出。输出的字符串间以空白字符隔开, 并在最后加上换行号 用echo命令打印特效的文字: \e[nm n为数字代码,多个以“;”隔开 [33;36;5m red hat ...
分类:
系统相关 时间:
2017-07-18 15:44:27
阅读次数:
168
学习使用linux不过两周时间,换了3份发行版,体验了red hat和devian阵营的版本。因为是给旧笔记本电脑安装,而且自己是新手,还是选用了Ubuntu阵营的操作系统。Kylin系统是中国协助开发,安装了不少常用软件,比如wps和搜狗输入法。但是wifi的dns配置一直需要手动配置。尝试了修改 ...
分类:
系统相关 时间:
2017-07-18 13:28:42
阅读次数:
311