码迷,mamicode.com
首页 > 其他好文
跨域的理解与实现
什么是跨域域(Domain)是Windows网络中独立运行的单位,域之间相互访问则需要建立信任关系(即Trust Relation)。信任关系是连接在域与域之间的桥梁。当一个域与其他域建立了信任关系后,2个域之间不但可以按需要相互进行管理,还可以跨网分配文件和打印机等设备资源,使不同的域之间实现网络...
分类:其他好文   时间:2015-12-06 13:08:35    阅读次数:192
[LeetCode]Implement Trie (Prefix Tree)
class TrieNode { // Initialize your data structure here. TrieNode[] child; boolean isWord; public TrieNode() { child = new TrieNode...
分类:其他好文   时间:2015-12-06 13:06:50    阅读次数:137
1075. PAT Judge (25)
The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are supposed to generate the ranklist ...
分类:其他好文   时间:2015-12-06 13:09:04    阅读次数:240
1095. Cars on Campus (30)
(模拟题)时间限制220 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueZhejiang University has 6 campuses and a lot of gates. From each gate we can collect th...
分类:其他好文   时间:2015-12-06 13:07:08    阅读次数:213
用Qemu模拟vexpress-a9 --- 配置 qemu 的网络功能
分类:其他好文   时间:2015-12-06 13:06:53    阅读次数:536
1063. Set Similarity (25)遍历map
Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the tw...
分类:其他好文   时间:2015-12-06 13:07:43    阅读次数:165
cdoj 1256 昊昊爱运动 预处理/前缀和
昊昊爱运动Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/1256Description昊昊喜欢运动他N天内会参加M种运动(每种运动用一个[1,m]的整数表示)舍友有Q个问题问昊昊第l天...
分类:其他好文   时间:2015-12-06 13:08:21    阅读次数:138
1102. Invert a Binary Tree (25)
反转二叉树就是左右节点互换层遍历使用队列实现中序遍历递归实现The following is from Max Howell @twitter:Google: 90% of our engineers use the software you wrote (Homebrew), but you ca...
分类:其他好文   时间:2015-12-06 13:06:49    阅读次数:224
额企鹅去
asd a
分类:其他好文   时间:2015-12-06 13:07:07    阅读次数:109
1069. The Black Hole of Numbers (20)
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre...
分类:其他好文   时间:2015-12-06 13:03:49    阅读次数:142
1099. Build A Binary Search Tree (30)
freopen("Text.txt", "r", stdin); 输入输出重定向,神器建立二叉树,注意中序遍历和指针的使用 时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Binary Search Tree (BST) is ...
分类:其他好文   时间:2015-12-06 13:04:17    阅读次数:140
cdoj 1253 阿里巴巴和n个大盗 博弈论
阿里巴巴和n个大盗Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/1253Description阿里巴巴和n个大盗来到了一个藏满宝石的洞穴。洞里一共有m颗价值连城的宝石,每一颗都等价。盗...
分类:其他好文   时间:2015-12-06 13:06:04    阅读次数:144
1071. Speech Patterns (25)
map的使用时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者HOU, QimingPeople often have a preference among synonyms of the same word. For example, some ma...
分类:其他好文   时间:2015-12-06 13:03:46    阅读次数:208
1091. Acute Stroke (30)
One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which the core regions ...
分类:其他好文   时间:2015-12-06 13:03:35    阅读次数:196
1057. Stack (30)
set的使用和它的迭代器的使用Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operations...
分类:其他好文   时间:2015-12-06 13:02:53    阅读次数:172
【转】设计模式六大原则(1):单一职责原则
定义:不要存在多于一个导致类变更的原因。通俗的说,即一个类只负责一项职责。问题由来:类T负责两个不同的职责:职责P1,职责P2。当由于职责P1需求发生改变而需要修改类T时,有可能会导致原本运行正常的职责P2功能发生故障。解决方案:遵循单一职责原则。分别建立两个类T1、T2,使T1完成职责P1功能,....
分类:其他好文   时间:2015-12-06 13:04:32    阅读次数:136
1087. All Roads Lead to Rome (30)
时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIndeed there are many different tourist routes from our city to Rome. You are supposed to fi...
分类:其他好文   时间:2015-12-06 13:03:21    阅读次数:235
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!