安装rpmbuildsudoyuminstallrpm-build普通用户的配置/home/you/rpmbuild/假设是要构建rpm的目录先说说rpmbuild有什么用,给一个例子:echo"%_topdir/home/you/rpmbuild">~/.rpmmacrosmkdir-p/home...
分类:
其他好文 时间:
2014-06-21 09:59:04
阅读次数:
258
题目描述It'sYy'sbirthday, and his friends decided to buy him a copy ofXianJianQiXiaZhuanV.Since some of friends have more money available than others, nob...
分类:
其他好文 时间:
2014-06-21 09:03:53
阅读次数:
303
Question:There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity s...
分类:
其他好文 时间:
2014-06-21 08:34:52
阅读次数:
172
A string is a sequence of characters. You can access the characters one at a time with the bracket operator. The second statement selects ch...
分类:
其他好文 时间:
2014-06-21 08:19:51
阅读次数:
197
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists./** * Def...
分类:
其他好文 时间:
2014-06-21 07:55:42
阅读次数:
197
## if (I am a Programmer || I have a strong sense of time) I use ag___##1. 安装命令行ag(代码中行首的“\\”是多余的)```bash\#!/usr/bin/env bash\#Author Leslie Guan\#ma....
分类:
其他好文 时间:
2014-06-21 07:55:03
阅读次数:
241
题目链接 Divide two integers without using multiplication, division and mod operator. 最直观的方法是,用被除数逐个的减去除数,直到被除数小于0。这样做会超时。 本文地址 那么如果每次不仅仅减去1个除数,计算速度就会增加,但...
分类:
其他好文 时间:
2014-06-21 07:44:52
阅读次数:
221
Longest Palindromic Substring:Given a stringS, find the longest palindromic substring inS.You may assume that the maximum length ofSis 1000, and there...
分类:
其他好文 时间:
2014-06-21 07:36:18
阅读次数:
227
Triangle:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, give...
分类:
其他好文 时间:
2014-06-21 07:02:07
阅读次数:
203
// Question: There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexi...
分类:
其他好文 时间:
2014-06-21 00:22:23
阅读次数:
255