he following commands will helpful to delete the expired archive log files using Oracle Recovery Manager(RMAN).Connect to the Rman prompt and try the ...
分类:
其他好文 时间:
2014-06-26 20:20:52
阅读次数:
262
Write a function to find the longest common prefix string amongst an array of strings.public class Solution { public String longestCommonPrefix(Str...
分类:
其他好文 时间:
2014-06-25 17:03:03
阅读次数:
331
project(my)cmake_minimum_required(VERSION 2.8.9)set (CMAKE_PREFIX_PATH "C:\\Qt\\Qt5.3.0\\5.3\\msvc2010_opengl")set(CMAKE_INCLUDE_CURRENT_DIR ON)find_p...
分类:
其他好文 时间:
2014-06-25 16:59:54
阅读次数:
221
sudoapt-getinstallautomakesudoapt-getinstalllibtool./configure--target-list=x86_64-softmmu--prefix=/opt/qemu-2.0.0--enable-kvm--enable-sdlmakesudomakeinstall
分类:
其他好文 时间:
2014-06-25 10:32:10
阅读次数:
365
今天来尝试下源码编译安装mysql。这次我们要用到cmake工具,安装cmake。#yuminstallcmake#tar-xfmysql-5.5.37.tar.gz#cdmysql-5.5.37#groupadd-rmysql#useradd-gmysql-r-d/mydata/data/mysql#cmake.-DCMAKE_INSTALL_PREFIX=/usr/local/mysql\指定安装路径-DMYSQL_DATADIR=/myda..
分类:
数据库 时间:
2014-06-25 10:08:48
阅读次数:
423
题目1 ——
通过输入英文句子,将每个单词反过来,标点符号顺序不变。非26个字母且非标点符号的情况即可标识单词结束。标点符号包括,.!?
例如输入:Hello, I need an apple.
输出:
/**
* 华为机试训练1: 通过输入英文句子,将每个单词反过来,标点符号顺序不变。非26个字母且非标点符号的情况即可标识单词结束。 标点符号包括,.!?
* He...
分类:
其他好文 时间:
2014-06-24 23:47:12
阅读次数:
249
源代码:
…….
#ifndef MODULE_SYMBOL_PREFIX
#define MODULE_SYMBOL_PREFIX ""
#endif
…….
struct kernel_symbol //内核符号结构
{
unsignedlong value; //该符号在内存地址中的地址
constchar *name; /...
分类:
系统相关 时间:
2014-06-24 21:49:02
阅读次数:
362
HDU 11488 Hyper Prefix Sets (字符串-Trie树)
题目大意:
假设a表示公共前缀的长度,b表示含有这个前缀的字符串个数,问你a*b的最大值。
解题思路:
建立一棵Trie树,边建边查,直接更新 长度乘以个数的最大值...
分类:
其他好文 时间:
2014-06-22 21:12:34
阅读次数:
307
11488 - Hyper Prefix Sets
Time limit: 2.000 seconds
#include
#include
#include
#include
#include
#include
#include
using namespace std;
const int maxn = 5000000;
vector vs;
int cnt,ans...
分类:
其他好文 时间:
2014-06-22 16:38:22
阅读次数:
199
转载请注明出处:http://www.openext.org/2014/06/libvirt-error1在编译配置libvirt12.2时如果prefix不是usr目录,在使用libvirt创建VM则会出现ERROR:internal error Unable to locate libvirtd daemon in $PATH即便libvirtd所在目录已经加入了PATH。本人认为这是libv...
分类:
其他好文 时间:
2014-06-22 11:18:08
阅读次数:
260