https://oj.leetcode.com/problems/trapping-rain-water/模拟题,计算出在凹凸处存水量。对于一个位置 i ,分别计算出它左边的最大值 left (从左扫描一遍), 右边的最大值 right(从右扫描一遍) 。找left right中的最小值,如果大于 ...
分类:
移动开发 时间:
2014-06-28 16:32:30
阅读次数:
222
A bottom-up DP. To be honest, it is not easy to relate DP to this problem. Maybe, all "most"\"least" problems can be solved using DP..Reference:http:/...
分类:
Web程序 时间:
2014-06-25 18:39:32
阅读次数:
235
dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfiguredstart:Jobfailedtostartinvoke-rc.d:initscriptmysql,action"...
分类:
数据库 时间:
2014-06-25 13:32:08
阅读次数:
277
DescriptionChosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new proble...
分类:
其他好文 时间:
2014-06-24 09:58:37
阅读次数:
236
poj 2151 Check the difficulty of problems(线段树+概率)...
分类:
其他好文 时间:
2014-06-22 07:42:40
阅读次数:
225
The 3n + 1 problem
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 50648
Accepted: 16059
Description
Problems in Computer Science are often classified as...
分类:
其他好文 时间:
2014-06-21 21:35:52
阅读次数:
276
搬运自http://wurang.me/2014/06/17/uac-problems.html【问题产生】问题最初是在administrator权限下,visual studio 打开网络磁盘下的文件报错。经过几次调试,最终发现是问题是在管理员权限下,vs无法访问网络磁盘。Console.Writ...
分类:
其他好文 时间:
2014-06-19 07:31:35
阅读次数:
344
Description
The Broken Pedometer
The Problem
A marathon runner uses a pedometer with which he is having problems. In the pedometer the symbols are represented by seven s...
分类:
其他好文 时间:
2014-06-18 12:31:09
阅读次数:
203
原题地址:https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/题意:Given a string, find the length of the longest substring witho...
分类:
编程语言 时间:
2014-06-15 19:51:00
阅读次数:
254
原题地址:https://oj.leetcode.com/problems/add-two-numbers/题意:You are given two linked lists representing two non-negative numbers. The digits are stored i...
分类:
编程语言 时间:
2014-06-15 00:40:44
阅读次数:
328