Problem B: The Largest CliqueGiven a directed
graphG, consider the following transformation. First, create a new graphT(G)to
have the same vertex set ...
分类:
其他好文 时间:
2014-05-01 14:09:34
阅读次数:
357
It is the first time that I use heroku. But I
encountered some problems installing it. Luckily, I resolved the problem.(In
windows 8)Step 1: Sign up.....
分类:
其他好文 时间:
2014-05-01 12:32:50
阅读次数:
317
原题地址:http://oj.leetcode.com/problems/linked-list-cycle/题意:判断链表中是否存在环路。解题思路:快慢指针技巧,slow指针和fast指针开始同时指向头结点head,fast每次走两步,slow每次走一步。如果链表不存在环,那么fast或者fast...
分类:
编程语言 时间:
2014-05-01 10:33:38
阅读次数:
426
这是微软官方SignalR 2.0教程Getting Started with Entity
Framework 6 Code First using MVC 5
系列的翻译,这里是第四篇:MVC程序中实体框架的连接恢复和命令拦截原文:Connection Resiliency and Comman...
分类:
Web程序 时间:
2014-05-01 05:11:54
阅读次数:
612
Quick install guide1.1 Install Python, it works
with Python2.6, 2.7, 3.2, 3.3. All these version of Python include a lightweight
database SQLite, so y...
分类:
其他好文 时间:
2014-04-30 23:14:34
阅读次数:
566
Our chemical biologists have invented a new very useful form of life called stripies (in fact, they were first called in Russian - polosatiki, but the scientists had to invent an English
name to app...
分类:
其他好文 时间:
2014-04-29 13:45:22
阅读次数:
309
At the start of each school year, a very important event happens at Hogwarts. Each of the first-year wizards and witches is assigned to one of the four Hogwarts houses. The bravest children are put
...
分类:
其他好文 时间:
2014-04-29 13:38:20
阅读次数:
459
链接:http://soj.me/show_problem.php?pid=1007
Description
Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letter...
分类:
其他好文 时间:
2014-04-29 13:23:21
阅读次数:
293
在Linux内核中,hlist(哈希链表)使用非常广泛。本文将对其数据结构和核心函数进行分析。
和hlist相关的数据结构有两个:hlist_head 和 hlist_node
//hash桶的头结点
struct hlist_head {
struct hlist_node *first;//指向每一个hash桶的第一个结点的指针
};
//hash桶的普通结点
struct hl...
分类:
系统相关 时间:
2014-04-27 21:24:06
阅读次数:
579
ccnuacm training first week...
分类:
其他好文 时间:
2014-04-27 21:18:05
阅读次数:
281