http://poj.org/problem?id=1679
The Unique MST
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 21550
Accepted: 7619
Description
Given a connected...
分类:
其他好文 时间:
2015-01-27 15:05:39
阅读次数:
169
Given a string S,
find the longest palindromic substring in S.
You may assume that the maximum length of S is
1000, and there exists one unique longest palindromic substring.
#include
#includ...
分类:
其他好文 时间:
2015-01-27 15:02:38
阅读次数:
164
Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum of ...
分类:
其他好文 时间:
2015-01-27 14:50:17
阅读次数:
198
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the grid.For e...
分类:
其他好文 时间:
2015-01-27 13:28:19
阅读次数:
149
--alter table HistoryData drop constraint PK_HistoryData -- 删除主键
alter table HistoryData add constraint PK_HistoryData primary key (CollectionTime,Code)--更改主键
delete from HistoryData where ...
分类:
数据库 时间:
2015-01-27 11:07:27
阅读次数:
159
应该是tomcat下部署了多个项目且都使用log4j。log4jConfigLocation/WEB-INF/log4j.propertieswebAppRootKeywebName.root
分类:
移动开发 时间:
2015-01-27 10:45:16
阅读次数:
117
Unique Binary Search TreesGivenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a to...
分类:
其他好文 时间:
2015-01-27 00:16:11
阅读次数:
218
题目:Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty spac...
分类:
编程语言 时间:
2015-01-26 16:57:37
阅读次数:
161
题目:A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any poi...
分类:
编程语言 时间:
2015-01-26 16:32:36
阅读次数:
173
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-26 13:41:30
阅读次数:
95