码迷,mamicode.com
首页 >  
搜索关键字:first statement    ( 17191个结果
求时间差
time_t first, second;first = time(NULL);// 你的程序 ...............second = time(NULL);printf("The difference is: %f seconds\n",difftime(se...
分类:其他好文   时间:2014-07-22 23:08:54    阅读次数:216
Bootstrap 表格
Bootstrap 的简单表格实例 Example of Table with twitter bootstrap Student-ID First Name Last Name ...
分类:其他好文   时间:2014-07-22 23:06:56    阅读次数:327
uva 11324
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
学习shell脚本笔记
1.if 是单分支语句,使用格式如下: if condition ; then statement ….. fi 2.if … else 是双分支语句,使用格式如下: if condition ; then statement …. else statement …. fi 3.if …elif…e...
分类:其他好文   时间:2014-05-01 13:53:51    阅读次数:356
Writing your first Django
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
Javascript 学习笔记 2: 标识语句
可以在任何语句声明之前使用唯一标识(identifier)和冒号(:)用来标记该语句:identifier: statement这样,你可以在程序的任何其他地方通过标识来使用这个语句。即使在语句内部也可以使用该语句的标识(例如:循环语句和条件语句)。当在一个循环语句前添加一个标识,你可以在语句内部通...
分类:编程语言   时间:2014-04-30 22:57:11    阅读次数:619
Timus 1446. Sorting Hat 分类问题
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
Timus 2011. Long Statement 排列组合的运用
本题我使用了permutation的知识去解决。 就是把 1 2 2 3 3 3 看着是一个排列,然后求6次下一个排列,如果无重复,那么就是Yes,如果有重复,那么就是No了。 求排序的时间效率是O(n),所以本算法的速度还是相当快的。 能够运用上学过的知识,感觉真是太好了。...
分类:其他好文   时间:2014-04-27 21:36:58    阅读次数:311
Linux 内核 hlist 详解
在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
week0
ccnuacm training first week...
分类:其他好文   时间:2014-04-27 21:18:05    阅读次数:281
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!