自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 hihocoder中的逆序排队

#1141 : 二分·归并排序之逆序对题目如下:----------------------------------Time Limit:10000msCase Time Limit:1000msMemory Limit:256MB描述在上一回、上上回以及上上上回里我们知道Nettle在玩《艦これ》。经过了一番苦战之后,Nettl

2015-04-07 15:56:06 554

转载 fedora 添加源

装个LaTeX花了两个小时,实在太慢了,于是网上找到了一些国内源,mark一下~~~~from:  http://www.cnblogs.com/bo083/archive/2011/06/07/2152792.html1. 添加搜狐的源 进入网站http://mirrors.sohu.com/,在左边找到fedora目录,点击该行右边的help, 然后下载fedora

2015-01-21 22:15:16 504

原创 [leetcode] Valid Parentheses

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the correct order, "()" and "()[]{}" are all va

2015-01-17 13:46:10 383

原创 3Sum

Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:Elements in a triplet (a,b,c

2015-01-17 12:01:05 353

原创 [leetcode] Longest Common Prefix

Write a function to find the longest common prefix string amongst an array of strings.Solution: We need a template to store the current longest prefix string. The template will be updated in

2015-01-15 19:12:17 326

原创 [leetcode] Container With Most Water

Given n non-negative integers a1, a2, ...,an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of linei is at (i, ai) and (i, 0). Find

2015-01-15 14:19:46 357

原创 [leetcode] Regular Expression Matching

Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire input

2015-01-15 09:24:54 500

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除