码迷,mamicode.com
首页 > 其他好文
【leetcode】Median of Two Sorted Arrays
Median of Two Sorted ArraysThere are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run...
分类:其他好文   时间:2015-01-24 15:49:37    阅读次数:78
servicemix-3.2.1 部署异常
1 2 3 ## framework task result 框架任务部署结果 4 5 6 7 deploy 8 ...
分类:其他好文   时间:2015-01-24 15:50:12    阅读次数:180
POJ 2299 Ultra-QuickSort
/**POJ 2299 Ultra-QuickSort*求逆序数*树状数组*离散化*/#include #include using namespace std;#define lowbit(x) x&(-x)#define int long longint n;const int MAXN = 5...
分类:其他好文   时间:2015-01-24 15:51:02    阅读次数:222
UVA11806【拉拉队】Cheerleaders-------2015年1月24日
1.题意描述本题大致意思是讲:给定一个广场,把它分为M行N列的正方形小框。现在给定有K个拉拉队员,每一个拉拉队员需要站在小框内进行表演。但是表演过程中有如下要求:(1)每一个小框只能站立一个拉拉队员;(2)广场的第一行,最后一行,第一列,最后一列都至少站有一个拉拉队员;(3)站在广场的四个角落的拉拉...
分类:其他好文   时间:2015-01-24 15:49:18    阅读次数:127
Codeforces Round #286 (Div. 1) 解题报告
A.Mr. Kitayuta, the Treasure Hunter 很显然的一个DP,30000的数据导致使用map+set会超时。题解给了一个非常实用的做法,由于每个点有不超过250种状态,并且这些状态都是以包含d连续的一段数字,那么可以以对d的偏移量作为状态。这算是很常见的一个优化了。#i....
分类:其他好文   时间:2015-01-24 15:48:14    阅读次数:148
好玩才是最重要的
Linus的这本自传,读完已经有好几个月,一直想写点东西,但始终苦于工作繁忙,无暇思考该从何写起。技术上自然不用废话,Linux的存在对于业界的贡献天下皆知,写什么都是画蛇添足。仔细回想读这本书的过程,我始终在意的是作者的思想,他对于技术生活的想法,我想用"淡泊"来说他的一生其实并不准确,尽管他的合...
分类:其他好文   时间:2015-01-24 15:47:08    阅读次数:109
Tomcat8.0之再体验
1、安装和运行【必须】 * 官网地址下载:http://tomcat.apache.org/download-80.cgi * 点击运行: apache-tomcat-8.0.14.exe * 位置:不能包含中文和空格 * 运行:%tomcat%/bin/startup.bat *...
分类:其他好文   时间:2015-01-24 15:48:44    阅读次数:145
1月24日 样式表案例
沃顿商学院(仿)1、html代码沃顿商学院 PENN WHARTON HOME CAMPUSES DIRECTORIES NEWS QUICKLIN...
分类:其他好文   时间:2015-01-24 15:48:33    阅读次数:140
drawable(1、canvas)
drawable(1、canvas)
分类:其他好文   时间:2015-01-24 15:46:49    阅读次数:69
【leetcode】Search for a Range
Search for a RangeGiven a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity ...
分类:其他好文   时间:2015-01-24 15:46:00    阅读次数:107
centos vncserver
vnc是一款使用广泛的服务器管理软件,可以实现图形化管理,下面简单介绍一下如何在centos6.5下安装vnc。1、下载vncserver yum install tigervnc tigervnc-server -y 2、配置 vncserver cd /etc/sysconfig...
分类:其他好文   时间:2015-01-24 15:47:18    阅读次数:131
表达式求值
表达式求值的步骤: 1.将中缀表达式改为后缀表达式 2.后缀表达式求值 第一个问题:将中缀表达式改为后缀表达式 》准备2个堆栈(后缀表达式栈、运算符栈) 》读取中缀表达式的每个对象,对不同对象按不同的情况处理 1.运算数:直接输出 2.左括号:压入堆栈 3.右括号:将栈顶的...
分类:其他好文   时间:2015-01-24 15:46:07    阅读次数:157
介绍一款开源的类Excel电子表格软件
??Excel一直以霸主的地位,占领了Windows桌面表格软件市场No 1,与此同一时候,Office套装产品差点儿成为了IT行业的标配办公技能。有无相似Excel的桌面程序,绿色版,实现主要的数据编辑功能呢? 假如不安装Office,可否实现表格编辑、公式编辑、打印、导入、导出等操作呢?能够的,...
分类:其他好文   时间:2015-01-24 15:46:35    阅读次数:186
Distinct Subsequences -- from Leetcode
Problem:Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from ...
分类:其他好文   时间:2015-01-24 15:44:24    阅读次数:179
【leetcode】Maximum Gap
Maximum GapGiven an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/spac...
分类:其他好文   时间:2015-01-24 15:44:53    阅读次数:201
hdu 1847
#include using namespace std; int main() { int n; while(cin >>n){ if(n%3) ...
分类:其他好文   时间:2015-01-24 15:45:53    阅读次数:112
怎样用conda安装opencv
首先用Anaconda是因为方便(管理方便,包安装真心不方便)。下面是我的安装过程:首先使用如下命令安装opencvconda install -c https://conda.binstar.org/menpo opencv不过装完之后用不了,这时候找到如下文件夹Anaconda\pkgs\ope...
分类:其他好文   时间:2015-01-24 15:45:32    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!