码迷,mamicode.com
首页 >  
搜索关键字:vim find    ( 39587个结果
projecteuler---->problem=4----Largest palindrome product
title: Largest palindrome product Problem 4 A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 99. Find the l...
分类:其他好文   时间:2014-06-07 01:24:27    阅读次数:398
LeetCode: Combinations [077]
【题目】 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum window is "BANC". Note: If there is no such window in S that covers ...
分类:其他好文   时间:2014-06-05 11:14:26    阅读次数:255
LeetCode: Minimum Window Substring [076]
【题目】 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum window is "BANC". Note: If there is no such window in S that covers ...
分类:Windows程序   时间:2014-06-05 10:03:07    阅读次数:473
Leetcode--Best Time to Buy and Sell Stock III
Problem Description: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most two transa...
分类:其他好文   时间:2014-06-05 09:33:52    阅读次数:342
lxc-config: error while loading shared libraries: liblxc.so.1
很多的开源软件在安装过程中会出现找不到动态库的问题我在ubuntu12.04安装lxc时,没有出现这问题,但在centos6.5的时候出现了这问题fix:#find / -name  liblxc.so.1#echo "/usr/local/lib/" >> /etc/ld.so.conf#ldconfig...
分类:其他好文   时间:2014-06-05 06:23:02    阅读次数:243
【HDOJ】1150 Machine Schedule
匈牙利算法。 1 #include 2 #include 3 4 #define MAXNUM 1005 5 6 char map[MAXNUM][MAXNUM]; 7 char visit[MAXNUM]; 8 int son[MAXNUM]; 9 10 int find(int x, i...
分类:其他好文   时间:2014-05-31 16:54:26    阅读次数:291
Ubuntu ftp服务器搭建 + UltraEdit编辑FTP文件
0. 前言:(请无视) 最近在写一个Linux脚本,在电脑装了Ubuntu的虚拟机来测试脚本效果;可是用vim编辑脚本实在是太蛋疼,于是就想到UltraEdit编写,然后通过ftp上传到Ubuntu虚拟机中......一、Ubuntu 搭建ftp 服务器1. vsftpd 服务安装在虚拟机能联网的....
分类:其他好文   时间:2014-05-31 11:33:39    阅读次数:395
REDHAT6.4系统YUM本地源设置
#cd /etc/yum.repo.d/----------------------------cd为进入目录,后面跟的是YUM源文件在REHHAT6.4系统中的位置#vim dvd.repo-------------------------------------使用vim进行编辑,也可以使用vi...
分类:其他好文   时间:2014-05-31 11:17:10    阅读次数:310
在windows的情况下面右键添加vim
1, 首先打开注册表,然后打开下面路径:HKEY_CLASSES_ROOT\*\Shell2, 右键新建项(也就是右键的文字): 用vim编辑3, 在“用vim编辑”下面再添加项 : command4, 点击新建的“commond”,看到右边窗口有默认,然后右击“修改”,修改为gvim.exe的位置...
分类:Windows程序   时间:2014-05-31 01:05:31    阅读次数:336
LeetCode: Longest Substring Without Repeating Characters 题解
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-05-30 23:46:09    阅读次数:453
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!