-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
181 lines (119 loc) · 4.23 KB
/
index.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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>watchdog</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="author" content="watchdog">
<meta property="og:type" content="website">
<meta property="og:title" content="watchdog">
<meta property="og:url" content="http://yoursite.com/index.html">
<meta property="og:site_name" content="watchdog">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="watchdog">
<link rel="alternate" href="/atom.xml" title="watchdog" type="application/atom+xml">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="stylesheet" href="/css/style.css">
<!--[if lt IE 9]><script src="//cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script><![endif]-->
</head>
<body>
<div class="wrapper">
<header id="header">
<div class="title">
<h1><a href="/">watchdog</a></h1>
<p><a href="/"></a></p>
</div>
<nav class="nav">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/archives">Archives</a></li>
<li><a href="/atom.xml">RSS</a></li>
</ul>
<div class="clearfix"></div>
</nav>
<div class="clearfix"></div>
</header>
<div class="content">
<article class="post">
<header>
<div class="icon"></div>
<a href="/2016/09/14/Code-Jam-2008-Round-1A/">
<time datetime="2016-09-14T13:14:37.239Z">
2016-09-14
</time>
</a>
<h1 class="title"><a href="/2016/09/14/Code-Jam-2008-Round-1A/">Code Jam Round 1A</a></h1>
</header>
<div class="entry">
<h4 id="Problem-A-Minium-Scalar-Product"><a href="#Problem-A-Minium-Scalar-Product" class="headerlink" title="Problem A. Minium Scalar Product"></a>Problem A. Minium Scalar Product</h4><blockquote>
<p>给定两个向量v<sub>1</sub>=(x<sub>1</sub>,x<sub>2</sub>,…x<sub>n</sub>)和v2=(y<sub>1</sub>,y<sub>2</sub>,…y<sub>n</sub>),适当调整向量内部的顺序,使得他们的数量积最小、最大</p>
</blockquote>
<p><em>分析</em> </p>
<p>贪心,对向量升序,最小值和最大值分别对应于两者顺序相乘和逆序相乘</p>
</div>
<footer class="end-sep">
<div class="alignleft">
<a href="/2016/09/14/Code-Jam-2008-Round-1A/#more" class="more-link">阅读全文</a>
</div>
<div class="clearfix"></div>
</footer>
</article>
<nav id="pagination">
<div class="clearfix"></div>
</nav>
</div>
</div>
<div id="sidebar" class="widgets-right">
<div class="widget tag">
<h3 class="title">recent_posts</h3>
<ul class="entry">
<li>
<a href="/2016/09/14/Code-Jam-2008-Round-1A/">Code Jam Round 1A</a>
</li>
</ul>
</div>
</div>
<footer id="footer"><div class="copyright">
© 2016 <a href="/">watchdog</a>
</div>
<div class="theme-copyright">
Theme by <a href="https://github.com/orderedlist" target="_blank">orderedlist</a>
|
Redesign by <a href="http://blog.dafengning.com/" target="_blank">Chong Zi</a>
</div>
<div class="clearfix"></div></footer>
<script src="//lib.sinaapp.com/js/jquery/1.8/jquery.min.js"></script>
<script src="/js/scale.fix.js"></script>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<div id="rightfix" style="display:none;">
<a href="javascript:void(0)" id="gotop" class="fix_btn" onclick="gotop();" title="回到顶部"><i></i></a>
<script>
function gotop(){
$('html,body').animate({
scrollTop : '0px'
}, 800);
}
$(function(){
_rightfix = $('#rightfix');
$(window).scroll(function(){
$sollTop = document.documentElement.scrollTop + document.body.scrollTop;
if($sollTop > 350){
_rightfix.show();
}else{
_rightfix.hide();
}
});
});
</script>
</div>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
(function($){
$('.fancybox').fancybox();
})(jQuery);
</script>
</body>
</html>