1 Trapping Rain Water Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able ...
分类:
其他好文 时间:
2016-10-21 08:11:25
阅读次数:
283
// 解构复制// let [foo,[[bar],baz]] = [1,[[2],3]];// console.log(foo);//1// console.log(bar);//2// console.log(baz);//3 // let [,,third] = ["foo","bar","b ...
分类:
其他好文 时间:
2016-10-21 00:29:58
阅读次数:
222
Design UI 总共有三个activity 1. MainActitivty: search bar:先用edittext来代替 map:用imageview装图片 2. DetailActitivty 3. StreetViewActivity 根据需求都比较简单 以下是截图 MainActi ...
分类:
移动开发 时间:
2016-10-20 07:31:53
阅读次数:
202
start_kernel ——> setup_arch ——> arch_mem_init ——> |——> bootmem_init |——> device_tree_init |——> sparse_init |——> plat_swiotlb_setup |——> paging_init 我们 ...
分类:
其他好文 时间:
2016-10-19 19:19:08
阅读次数:
196
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
编程语言 时间:
2016-10-19 02:33:38
阅读次数:
157
在JavaScript可以使用try...catch来进行异常处理。例如: try { foo.bar();} catch (e) { alert(e.name + ": " + e.message);} 目前我们可能得到的系统异常主要包含以下6种: EvalError: raised when a ...
分类:
编程语言 时间:
2016-10-17 13:18:25
阅读次数:
149
1. 前言 2. 联动的饼图与柱形图 图: 本地链接:http://127.0.0.1/Example/case4/pie-bar.html 知识点: 1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <style> 4 body{ 5 width:1060p ...
分类:
其他好文 时间:
2016-10-17 07:11:50
阅读次数:
184
To genereate a bar chart with matplotlib: ////////////////////////////////Import libraries and classes//////////////////////////////////////////////// ...
分类:
其他好文 时间:
2016-10-15 02:49:04
阅读次数:
166
下面一些是 Menu Bar,用于显示菜单;再下面一点事 Toolbar areas,用于显示工具条,Status Bar,就是状态栏。 Qt 提供了一个 QStatusBar 类来实现状态栏。 Qt 里面也有一个类似的类,叫做 QAction QAction 能够根据添加的位置来改变自己的样子 — ...
分类:
其他好文 时间:
2016-10-14 13:52:07
阅读次数:
226