题目:
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 line i is at (i, ai) and (i, 0). Find tw...
分类:
其他好文 时间:
2015-04-16 21:59:36
阅读次数:
114
改变背景:background-image:Url(Images/water.png);Html+CSS实例效果(1):鼠标滑过改变文字如图效果代码如下html部分: HOME首页 地址Address css部分:#Menu{ width: 500px;margi...
分类:
Web程序 时间:
2015-04-16 17:28:41
阅读次数:
310
下面结合官方文档和实验介绍下HWM:
以下英文摘自11gR2官方文档:
HWM(high water mark):The boundary between used and unused space in a segment.
ORACLE9i之后开始使用自动段空间管理即ASSM,它使用位图来管理段空间的使用情况,如果表空间ASSM,则表空间中的段也是ASSM.
At table c...
分类:
其他好文 时间:
2015-04-16 15:45:13
阅读次数:
242
题意:
n个小孩站一圈,每个小孩拿一个数字,从第k个孩子开始出局,然后下一个出局的孩子是刚刚出局的孩子之前或之后第v个(刚刚出局的孩子的数字是+v则之后v个,-v则之前v个),这样所有孩子终将出局,第p个出局的孩子得f(p)分,f(p)定义为p的因子个数。求分数最高的孩子。
分析:
设顺时针为正方向,关键是模拟出每次出局的孩子是剩下的孩子中的正方向的第几个,设当前要出局的是第k个,然后要求出...
分类:
其他好文 时间:
2015-04-16 09:09:17
阅读次数:
209
题目:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints ...
分类:
其他好文 时间:
2015-04-16 01:17:43
阅读次数:
127
ObjectsR has five basic or “atomic” classes of objects: character numeric (real numbers) integer complex logical (True/False)The most basic object is ...
分类:
其他好文 时间:
2015-04-15 23:00:55
阅读次数:
136
题意: 一共有n天 每天西瓜售价为dp[i]元 该天的西瓜能吃v[i]天 而且这天如果买了西瓜之前的西瓜就要扔掉 问每天都吃到西瓜的最小花费是多少思路: 从最后一天开始dp最小花费 并用线段树单点更新来维护#include #include #include #include using names...
分类:
其他好文 时间:
2015-04-15 21:03:39
阅读次数:
145
题目链接:number-of-islands
/**
*
Given a 2d grid map of '1's (land) and '0's (water),
count the number of islands. An island is surrounded by water
and is formed by connecting adjacent land...
分类:
其他好文 时间:
2015-04-15 19:40:44
阅读次数:
179
ASP.NET Web Pages (Razor) API Quick ReferenceBy Tom FitzMacken|February 10, 2014PrintThis page contains a list with brief examples of the most commonl...