Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the c...
分类:
其他好文 时间:
2015-03-03 11:08:22
阅读次数:
196
//定义Circle类,拥有成员变量r,常量PI和计算面积的成员函数area() //第1种写法function Circle(r) { this.r = r;}Circle.PI = 3.14159;Circle.prototype.area = function() { return...
分类:
Web程序 时间:
2015-03-02 14:41:53
阅读次数:
160
Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers have to wait in line behind the yellow li...
分类:
其他好文 时间:
2015-03-02 09:38:56
阅读次数:
160
When Oracle Database executes a SQL statement, it stores the result set and processing information in an unnamedprivate SQL area. A pointer to this un...
分类:
数据库 时间:
2015-02-27 20:12:19
阅读次数:
260
标签作用:图像映射标签介绍:以下三个标签必须同时使用:标签:插入一张图片主要属性:src 图片的路径,可以是相对路径,也可以是绝对路径alt 定义图片区域的替换文本usermap 可引用 中的 id 或 name 属性(取决于浏览器),所以我们应同时向 添加 id 和 name 属性,并且值必须.....
分类:
其他好文 时间:
2015-02-27 16:44:45
阅读次数:
122
Oracle安装后的目录结构[oracle@oracle3admin]$cd/u01/oracle[oracle@oracle3oracle]$ll总计20drwxr-x---3oracleoinstall409606-0416:19admin--oracle的跟踪文件和日志文件drwxr-x---3oracleoinstall409606-0416:21flash_recovery_area--闪回恢复区,默认存储备份文件、归档文..
分类:
数据库 时间:
2015-02-26 00:04:17
阅读次数:
206
Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules for the customers to wait in line are:
The spa...
分类:
其他好文 时间:
2015-02-25 21:11:01
阅读次数:
177
function polygonArea(points)
{
var i, j;
var area = 0;
for (i = 0; i < points.length; i++)
{
j = (i + 1) % points.length;
area += points[i].x * points[j].y;
area -= points[i].y * points[j].x...
分类:
其他好文 时间:
2015-02-25 13:00:21
阅读次数:
159
背景:没考虑到海拔还可以为0和负,所以就一直wrong了好久。
思路:dfs+记忆化搜索+递归。
学习:记忆化搜索。#include
#include
using namespace std;
int area[52][52],memory[52][52];
int m,n,max_time,k;
int judge(int i1,int j1,int i,int j)
{
if(...
分类:
其他好文 时间:
2015-02-22 17:23:05
阅读次数:
148
问题及代码
Problem Description
Ignatius bought a land last week, but he didn't know the area of the land because the land is enclosed by a parabola and a straight line. The picture below shows the area. ...
分类:
其他好文 时间:
2015-02-16 15:39:08
阅读次数:
150