forked from Tegala/douzujun.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
algorithm.html
188 lines (167 loc) · 6.27 KB
/
algorithm.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--设置视口的宽度(值为设备的理想宽度),页面初始缩放值<理想宽度/可见宽度>-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/flexslider.css">
<link rel="stylesheet" type="text/css" href="css/animate.css">
<link rel="stylesheet" type="text/css" href="css/stylesheet.css">
<link rel="stylesheet" type="text/css" href="css/pageFrame.css">
<link rel="stylesheet" type="text/css" href="css/blogFrame.css">
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/jquery.flexslider-min.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.js"></script>
<script type="text/javascript" src="js/jquery.bgslider.js"></script>
<script type="text/javascript" src="js/masonry.pkgd.min.js"></script>
<script type="text/javascript">
var fullHeight = function(){
$('.full_height').css('min-height', $(window).height());
}
var sliderMain = function() {
$('.flexslider').flexslider({
animation: "fade",
slideshowSpeed: 5000,
directionNav: false
// start: function(){
// setTimeout(function(){
// $('.slider-text').removeClass('animated fadeInUp');
// $('.flex-active-slide').find('.slider-text').addClass('animated fadeInUp');
// }, 500);
// },
// before: function(){
// setTimeout(function(){
// $('.slider-text').removeClass('animated fadeInUp');
// $('.flex-active-slide').find('.slider-text').addClass('animated fadeInUp');
// }, 500);
// }
});
};
var masonryMain=function(){
var $container = $('#masonry');
$container.masonry({
itemSelector: '.brick',
gutter:0,
isAnimated: true,
});
}
var iframeWidth=function(){
$('.brick div iframe').css('width', $('.brick>div').width()+20);
}
$(function(){
$(window).resize(fullHeight);
$(window).resize(iframeWidth);
fullHeight();
iframeWidth();
sliderMain();
masonryMain();
$("#blog").bind("click", function() {
if($(".blog-list").is(":hidden")) {
$(".blog-list").show();
} else {
$(".blog-list").hide();
}
});
});
</script>
<title>Douzi's Blog</title>
</head>
<body>
<script type="text/javascript" src="js/background.js"></script>
<!--Menu-->
<div class="full_height" id="aside">
<h1 id="logo">Douzi</h1>
<nav class="nav1">
<ul class="text">
<li class="active"><a href="index.html">Home</a></li>
<li id="blog"><a href="#">Blog</a>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="MachineLearning.html"> • 机器学习</a></ul>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="#"> • 数据挖掘</a></ul>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="#"> • 统计学习</a></ul>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="algorithm.html"> • 算法笔记</a></ul>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="webNote.html"> • Web笔记</a></ul>
</li>
<li><a href="http://www.cnblogs.com/douzujun/">Article</a></li>
<li><a href="#">Album</a></li>
</ul>
</nav>
</div>
<div class="display">
<div class="full_height flexslider">
<ul class="slides">
<li class="full_height" style="background-image:url(images/bgslider-1.jpg)">
</li>
<li class="full_height" style="background-image:url(images/bgslider-2.jpg)">
</li>
<li class="full_height" style="background-image:url(images/bgslider-3.jpg)">
</li>
</ul>
</div>
<div id="masonry">
<div class="brick">
<div>
<div class="text">
<h2><a href="page/算法笔记/数学问题的解决窍门—素数.html">01.数学问题的解决窍门(一)——有关素数的基础算法</a></h2>
<p>1. 数学问题的解决窍门——有关素数的基础算法</p>
<p>2. 素性判定</p>
<p>3. 埃氏晒法</p>
<p>4. 练习</p>
</div>
</div>
</div>
<div class="brick">
<div>
<div class="text">
<h2><a href="page/算法笔记/STL基础 和 简单的贪心问题.html">02.STL基础 贪心问题 二分的应用</a></h2>
<p>1. STL基础</p>
<p>2. next_permutation用法</p>
<p>3. 贪心问题</p>
<p>4. 二分在算法中应用</p>
</div>
</div>
</div>
<div class="brick">
<div>
<div class="music1">
<!--http://music.163.com/#/song?id=29822015-->
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=411988502&auto=0&height=66"></iframe>
</div>
</div>
</div>
<div class="brick">
<div>
<div class="text">
<h2>天涯过客</h2>
<p>晨霜攀黛瓦 抖落霜 冷了茶 </p>
<p>抚琴欲对话 欲问琴声初落下</p>
</div>
</div>
</div>
<div class="brick">
<div>
<div class="text">
<h2><a href="page/算法笔记/数学问题的解决窍门—素数.html">01.数学问题的解决窍门(一)——有关素数的基础算法</a></h2>
<p>1. 数学问题的解决窍门——有关素数的基础算法</p>
<p>2. 素性判定</p>
<p>3. 埃氏晒法</p>
<p>4. 练习</p>
</div>
</div>
</div>
<div class="brick">
<div>
<div class="text">
<h2><a href="page/算法笔记/日期类问题 (历年蓝桥杯真题).html">01.日期类问题 历年蓝桥杯真题</a></h2>
<p>1. 黑色星期五</p>
<p>2. 高斯日记</p>
<p>3. 星系炸弹</p>
<p>4. 日期问题(第八届)</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>