1、margin兼容性问题 1)margin-top传递,子元素上下margin会传递给父级 阻止:触发BFC(如overflow:hidden;拯救标准浏览器及IE78)、触发IE的haslayout zoom:1(拯救IE67); 2)上下margin叠压(触发条件:同级元素,第一个元素的下与第 ...
分类:
其他好文 时间:
2017-11-12 19:22:07
阅读次数:
156
Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but ...
分类:
其他好文 时间:
2017-11-09 19:38:44
阅读次数:
156
写了一个识别网站的ip以及服务器的代码,比较烂,希望大佬指教 用了requests,socket,sys 标准库 对单个网站进行操作: 对存放文本文件进行操作: ...
分类:
编程语言 时间:
2017-11-09 18:41:13
阅读次数:
274
6-1 邻接矩阵存储图的深度优先遍历(20 分) 试实现邻接矩阵存储图的深度优先遍历。 函数接口定义: void DFS( MGraph Graph, Vertex V, void (*Visit)(Vertex) ); 其中MGraph是邻接矩阵存储的图,定义如下: typedef struct ...
分类:
其他好文 时间:
2017-11-07 23:59:07
阅读次数:
468
6-2 邻接表存储图的广度优先遍历(20 分) 试实现邻接表存储图的广度优先遍历。 函数接口定义: void BFS ( LGraph Graph, Vertex S, void (*Visit)(Vertex) ); 其中LGraph是邻接表存储的图,定义如下: /* 邻接点的定义 */ type ...
分类:
其他好文 时间:
2017-11-07 23:55:58
阅读次数:
238
C. Bertown Subway The construction of subway in Bertown is almost finished! The President of Berland will visit this city soon to look at the new subw ...
分类:
其他好文 时间:
2017-11-07 23:54:08
阅读次数:
222
Farm Tour Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18150 Accepted: 7023 Description When FJ's friends visit him on the farm, he like ...
分类:
其他好文 时间:
2017-11-07 22:19:51
阅读次数:
205
A. Borya's Diagnosis It seems that Borya is seriously sick. He is going visit n doctors to find out the exact diagnosis. Each of the doctors needs the ...
分类:
其他好文 时间:
2017-11-07 22:12:46
阅读次数:
170
后缀树是一种数据结构,可以对任意字符串建立后缀树。称用于建立后缀树T的字符串S为后缀树的数据源。 后缀树有以下优点: 利用后缀树可以以O(M)的时间复杂度在数据源中查找某一字符串K是否是其子串,其中M为K的长度。 可以在建立后缀树的同时确定数据源中的最长的重复子串的起始位置和长度。 可以利用后缀树以 ...
分类:
其他好文 时间:
2017-11-07 00:17:55
阅读次数:
201
一 伪类选择器 伪类选择器就是在查找的后面加上冒号和状态 hover:悬浮到上面就会变化一种状态 link:没有接触的状态 active:点击是触发的状态 visited:点击后的状态 二 css里面的属性补充 图片属性: rerticar-algin:调图片底线的位置,可以调节文本和图片底线对齐。 ...
分类:
Web程序 时间:
2017-11-06 22:45:23
阅读次数:
216