变量声明 一、let 和 const let 和 const 是 JavaScript 里相对较新的变量声明方式。 let 在很多方面与 var 是相似的,但是可以帮助大家避免在 JavaScript 里常见一些问题(如作用域提升)。 const 是对 let 的一个增强,它能阻止对一个变量再次赋值 ...
分类:
其他好文 时间:
2017-12-31 14:13:47
阅读次数:
129
P2935 [USACO09JAN]最好的地方Best Spot P2935 [USACO09JAN]最好的地方Best Spot P2935 [USACO09JAN]最好的地方Best Spot 题目描述 Bessie, always wishing to optimize her life, h ...
分类:
其他好文 时间:
2017-12-30 16:03:10
阅读次数:
140
In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as much as ...
分类:
其他好文 时间:
2017-12-30 14:33:13
阅读次数:
123
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column). If two nodes are in the sam ...
分类:
其他好文 时间:
2017-12-28 11:52:20
阅读次数:
200
In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as much as ...
分类:
其他好文 时间:
2017-12-27 22:31:15
阅读次数:
177
这道题为简单题 题目: In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twic ...
分类:
其他好文 时间:
2017-12-25 13:45:52
阅读次数:
180
When people find out I write about time management, They assume two things. One is that I'm always on time, And I'm not. I have four small children, A ...
分类:
其他好文 时间:
2017-12-24 21:33:32
阅读次数:
241
1. LM75A第一次使用,I2C接口,8脚 2. 打开quartus工程,下面只要是看看代码结构,问题在于多个always语句,逻辑上不太好分清楚,主要看状态机 3. 这个代码需要好好研究下,有疑问的地方,data_cnt <= data_cnt + 1'b1;每次读一位的时候,SCL应该有一个时 ...
分类:
其他好文 时间:
2017-12-23 15:58:54
阅读次数:
177
Yixght is a manager of the company called SzqNetwork(SN). Now she's very worried because she has just received a bad news which denotes that DxtNetwor ...
分类:
Web程序 时间:
2017-12-21 23:10:49
阅读次数:
328
The simplest answer is often the correct one. 最简单的答案通常是最正确的答案。 Simplest is always best. Sometimes you may find your answer is astonishingly simple aft ...
分类:
其他好文 时间:
2017-12-20 13:30:27
阅读次数:
149