1 #include 2 #include 3 using namespace std; 4
const int Max = 100000; 5 int num[Max]; 6 int find_[Max]; 7 bool found[Max]; 8
int pos[Max] = { 9 ...
分类:
其他好文 时间:
2014-06-07 03:49:29
阅读次数:
250
错误提示:E: Could not get lock /var/lib/dpkg/lock -
open (11: Resource temporarily unavailable) E: Unable to lock the administration
directory (/var/lib/d...
分类:
其他好文 时间:
2014-05-30 03:01:41
阅读次数:
234
Spring
AOP+EHCache简单缓存系统解决方案需要使用Spring来实现一个Cache简单的解决方案,具体需求如下:使用任意一个现有开源Cache
Framework,要求可以Cache系统中Service或则DAO层的get/find等方法返回结果,如果数据更新(使用Create/upd...
分类:
编程语言 时间:
2014-05-29 23:27:14
阅读次数:
467
之前都是命令行创建,今天用eclipse装m2eclipse的时候装完后创建项目的时候报错:Could
not resolve archetype
org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of t...
分类:
其他好文 时间:
2014-05-29 23:15:49
阅读次数:
244
Rotate ImageYou are given an n x n 2D matrix
representing an image.Rotate the image by 90 degrees (clockwise).Follow up:
Could you do this in-place?最简...
分类:
其他好文 时间:
2014-05-29 23:02:38
阅读次数:
254
參照
http://blog.csdn.net/dengroj2009/article/details/4636456
中方案二,問題解決。不過,感覺博主記錄問題方式很規範,記錄下。記錄整個筆記的流程:事件/錯誤/解決方案/步驟/原因總結
分类:
系统相关 时间:
2014-05-29 22:20:13
阅读次数:
436
问题:给出的区分大小写的字母字符的字符串,找到最大的字符串X,或者为X,或者其逆可以找到任何给定的字符串的子串输入:输入文件的第一行包含一个整数t(1 2
#include 3 char str[101][101]; 4 int sum1;//每组测试数据中的字符串个数 5 int find_su....
分类:
编程语言 时间:
2014-05-29 21:05:13
阅读次数:
330
Given an arraySofnintegers, find three integers
inSsuch that the sum is closest to a given number, target. Return the sum of the
three integers. You m...
分类:
其他好文 时间:
2014-05-29 11:04:43
阅读次数:
200
You are given a string,S, and a list of
words,L, that are all of the same length. Find all starting indices of
substring(s) in S that is a concatenati...
分类:
其他好文 时间:
2014-05-29 09:09:35
阅读次数:
222
Problem: Given a two-dimensional graph with
points on it, find a line which passes the most number of points.此题是Cracking the
code 5th edition 第七章第六题,思...
分类:
其他好文 时间:
2014-05-29 08:10:38
阅读次数:
292