4、高效编程要点:清晰 清晰:代码易于阅读,理解维护。 逻辑简单代码行简短函数简短凝视(或自凝视)分层明白 4.1 代码头非常重 比如:多级结构体查找变量 <span style="font-size:14px;">a1 = A->B->C.D.a1; b1 = A->B->C.D.b1; c1 = ...
分类:
其他好文 时间:
2017-05-18 09:54:51
阅读次数:
186
题意:给出n行m列的数据库(数据范围: n 1~10000, m 1~10), 问你能不能找出两行r1, r2,使得这两行中的c1, c2列是一样的, 即(r1,c1)==(r2,c1) && (r1,c2)==(r2,c2), 可以的话输出NO并且输出r1, r2, c1, c2, 否则输出YES ...
分类:
数据库 时间:
2017-05-17 23:35:40
阅读次数:
305
本博客的代码的思想和图片参考:好大学慕课浙江大学陈越老师、何钦铭老师的《数据结构》 拓扑排序 1 拓扑排序概念 首先我们来举个例子说明:计算机专业的排课 课程号 课程名称预修课程 C1 程序设计基础无 C2 离散数学无 C3 数据结构 C1, C2 C4 微积分(一) 无 C5 微积分(二) C4 ...
分类:
编程语言 时间:
2017-05-17 21:06:33
阅读次数:
273
a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r... ...
分类:
Web程序 时间:
2017-05-17 00:57:56
阅读次数:
385
a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r... ...
分类:
Web程序 时间:
2017-05-17 00:51:41
阅读次数:
180
a1.sources = r1 a1.sinks = k1 k2 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.source... ...
分类:
Web程序 时间:
2017-05-17 00:49:52
阅读次数:
216
a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r... ...
分类:
Web程序 时间:
2017-05-17 00:49:15
阅读次数:
214
a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r... ...
分类:
Web程序 时间:
2017-05-17 00:47:42
阅读次数:
226
a1.sources = r1 a1.sinks = k1 k2 a1.channels = c1 c2 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sou... ...
分类:
Web程序 时间:
2017-05-17 00:40:08
阅读次数:
205
参考链接:https://discuss.leetcode.com/topic/18054/4-lines-o-log-n-c-java-python 找规律: 假设n为六位数 abcdef. 求个位(f所在位)为1的数的个数C1: 将n分为两部分: P = n / 1 = abcdef Q = n ...
分类:
其他好文 时间:
2017-05-16 17:24:24
阅读次数:
256