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 longes...
分类:
其他好文 时间:
2014-08-26 19:09:06
阅读次数:
153
Incircle and CircumcircleTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeA triangle is one the basic shapes in geometry. It's a polygon with...
分类:
其他好文 时间:
2014-08-26 19:03:46
阅读次数:
201
ROADS
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 10844
Accepted: 3994
Description
N cities named with numbers 1 ... N are connected with one-way roads...
分类:
其他好文 时间:
2014-08-26 17:19:46
阅读次数:
242
MachineTime Limit: 2 Seconds Memory Limit: 65536 KBIn a typical assembly line, machines are connected one by one. The first machine's output product ....
分类:
其他好文 时间:
2014-08-26 17:16:16
阅读次数:
212
In a typical assembly line, machines are connected one by one. The first machine's output product will be the second machine's raw material. To simplify the problem, we put all machines
into a two-d...
分类:
其他好文 时间:
2014-08-26 15:37:36
阅读次数:
288
题目:Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,ret...
分类:
其他好文 时间:
2014-08-26 13:35:46
阅读次数:
223
HTML代码:1 CSS代码:1 #box{ width:100px; height:100px; background:#99C;}JS代码: 1 window.onload=function(){ 2 var one=document.getElementById('box'); 3 ...
分类:
其他好文 时间:
2014-08-26 11:29:45
阅读次数:
227
今天在导入公司的一个小demo时候发现了一个很有意思的错误。
An internal error occurred during: "Launching New_configuration". Path for project
must have only one segment.
于是上网搜寻了一下怎么解决:
具体的解决方法有两种:
一、Run Confi...
分类:
移动开发 时间:
2014-08-26 00:33:05
阅读次数:
240
Description
For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultimate Frisbee with some of the cows. ...
分类:
其他好文 时间:
2014-08-25 23:01:45
阅读次数:
508
In one well-known algorithm of finding the k-th order statistics we should divide all elements into groups of five consecutive elements and find the median
of each five. A median is called the middl...
分类:
其他好文 时间:
2014-08-25 22:50:55
阅读次数:
297