如果有时候我们忘记对构造函数使用new的话,构造函数的this将指向window function Person(){ this.name = 'Julie'; } var good_moring = Person(); console.log(good_...
分类:
编程语言 时间:
2014-08-05 15:27:19
阅读次数:
229
本题乍看像是线段树之类的区间操作,不过因为只是需要查找ip的前缀,故此其实是使用Trie来做。
这里的Trie使用到了Delete函数,这是个Trie函数中最难的函数了,当然要使用数组记录的方法水掉,也是可以的。这里不水,给出delete函数。
考点难点:
1 Trie的操作函数的灵活运用,主要难点是delete函数的灵活运用
2 在叶子节点所有的group id, 删除的时候要注意,不...
分类:
其他好文 时间:
2014-08-05 11:13:09
阅读次数:
296
Welcome back! This time, we’ll look into what is perhaps the “poster boy” feature introduced with the D3D11 / Shader 5.x hardware generation: Tessella...
分类:
其他好文 时间:
2014-08-05 02:55:48
阅读次数:
272
Welcome back. This time we’re actually gonna see triangles being rasterized – finally! But before we can rasterize triangles, we need to do triangl...
分类:
其他好文 时间:
2014-08-05 00:25:38
阅读次数:
476
Q: What is Good for enterprise (GFE)?A: A mobile messaging software, allow enterprise internal email synchronize to user's mobile devices, support cli...
分类:
其他好文 时间:
2014-08-04 21:13:38
阅读次数:
321
Problem Description
Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little about this game, so I introduce it to yo...
分类:
其他好文 时间:
2014-08-04 17:50:47
阅读次数:
158
Description:
The design uses CREE XPE LAMPS high brightness, very good reliability, life expectancy of 25,000 hours.
Character:
分类:
其他好文 时间:
2014-08-04 14:02:47
阅读次数:
178
Decode WaysA message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded me...
分类:
其他好文 时间:
2014-08-03 15:12:15
阅读次数:
238
先上题目:Good Luck in CET-4 Everybody!Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5113Accepted Sub...
分类:
其他好文 时间:
2014-08-02 23:24:44
阅读次数:
203
先上题目:Being a Good Boy in Spring FestivalTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4557Accept...
分类:
编程语言 时间:
2014-08-02 23:17:04
阅读次数:
309