java的内存划分为5个部分 1,栈(stack):存放的都是方法中的局部变量 2,堆(heap):凡是new出来的对象,都在堆当中,每一个对象都有一个16进制是地址值,堆内存里面的数据,都有一个默认值, 3,方法区(method area):存储class相关信息,包含方法的相关信息 4,本地方法 ...
分类:
编程语言 时间:
2019-09-14 22:43:35
阅读次数:
112
开放式最短路径优先(Open Shortest Path First,OSPF)是目前广泛使用的一种动态路由协议,它属于链路状态路由协议,具有路由变化收敛速度快、无路由环路、支持变长子网掩码(VLSM)和汇总、层次区域划分等优点。 命令模板: ospf 1 进入协议视图 area 0 进入路由区域 ...
分类:
其他好文 时间:
2019-09-14 22:35:41
阅读次数:
150
1 //自定义函数 2 #include<iostream> 3 using namespace std; 4 int Area(w,h);//错误:参数要先定义再使用,所以c前要有c的类型。正确表述:Area(int w,int h) 5 int main() { 6 int a,b; 7 cin... ...
分类:
编程语言 时间:
2019-09-14 16:37:46
阅读次数:
103
虚链路的含义指一条通过一个非骨干区域连接到骨干区域的链路(OSPF协议中只有连接到骨干区域,才能获取到路由信息)虚链路的目的通过一个非骨干区域连接一个区域到骨干区域;通过一个非骨干区域连接一个分段的骨干区域。虚链路的配置命令Router(config-router)#areaarea-idvritual-linkrouter-id//“area-id”为需要跨越的区域ID;“router-id”为
分类:
其他好文 时间:
2019-09-14 11:19:33
阅读次数:
105
Given a 2D binary matrix filled with 0's and 1's,find the largest square containing only 1's and return its area. Input: 1 0 1 0 01 0 1 1 11 1 1 1 11 ...
分类:
其他好文 时间:
2019-09-11 20:11:23
阅读次数:
106
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.136 Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000 A ...
分类:
其他好文 时间:
2019-09-11 09:27:34
阅读次数:
78
Description: Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return tru ...
分类:
其他好文 时间:
2019-09-10 10:22:24
阅读次数:
91
528. Random Pick with Weight 根据weight随机选取一个数,用 Prefix Sum+Binary Search 来解决。 https://www.geeksforgeeks.org/random-number-generator-in-arbitrary-probab ...
分类:
移动开发 时间:
2019-09-08 09:49:02
阅读次数:
139
题目链接: https://leetcode cn.com/problems/rectangle area 难度:中等 通过率:41.3% 题目描述: 在 二维 平面上计算出两个 由直线构成的 矩形重叠后形成的总面积。 每个矩形由其左下顶点和右上顶点坐标表示,如图所示。 示例: 说明: 假设矩形面积 ...
分类:
其他好文 时间:
2019-09-07 17:19:31
阅读次数:
87
let area = $(".textarea").not(this); area[i].attr("disabled","true") //这样获取的是DOM对象无法使用jq的attr area[i].attr("disabled","true") //这样获取的是DOM对象无法使用jq的attr ...
分类:
其他好文 时间:
2019-09-04 09:49:45
阅读次数:
69