<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1, ...
分类:
其他好文 时间:
2017-07-31 12:30:58
阅读次数:
125
恢复内容开始 The little girl loves the problems on array queries very much. One day she came across a rather well-known problem: you've got an array of n el ...
分类:
其他好文 时间:
2017-07-31 01:10:50
阅读次数:
164
Description Steph is extremely obsessed with “sequence problems” that are usually seen on magazines: Given the sequence 11, 23, 30, 35, what is the ne ...
分类:
其他好文 时间:
2017-07-30 22:08:25
阅读次数:
152
移动端的开发,需要通过<meta>标签设置视口 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"> App ...
分类:
其他好文 时间:
2017-07-30 11:32:02
阅读次数:
151
Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexi ...
分类:
其他好文 时间:
2017-07-29 19:36:49
阅读次数:
125
恢复内容开始 You are given n integers. Your task is very easy. You should find the maximum integer a and the minimum integer b among these n integers. And t ...
分类:
其他好文 时间:
2017-07-29 16:37:58
阅读次数:
173
这篇文章讲无权二分图(unweighted bipartite graph)的最大匹配(maximum matching)和完美匹配(perfect matching),以及用于求解匹配的匈牙利算法(Hungarian Algorithm);不讲带权二分图的最佳匹配。 二分图:简单来说,假设图中点能 ...
分类:
编程语言 时间:
2017-07-29 10:06:52
阅读次数:
216
http://acm.hdu.edu.cn/showproblem.php?pid=6047 【题意】 给定两个长度为n的序列a和b,现在要通过一定的规则找到可行的a_n+1.....a_2n,求sum{a_n+1.....a_2n}的最大值 每次从序列b中选择一个数bk,那么构造的ai就是max{ ...
分类:
其他好文 时间:
2017-07-29 00:56:22
阅读次数:
206
// TODO: 在此添加控件通知处理程序代码 CString str,edit_str; GetDlgItemText(IDC_StartServer, str); // 事件句柄和套节字句柄表 WSAEVENT eventArray[WSA_MAXIMUM_WAIT_EVENTS]; SOCKE ...
分类:
其他好文 时间:
2017-07-28 22:13:33
阅读次数:
205
Problem Description Steph is extremely obsessed with “sequence problems” that are usually seen on magazines: Given the sequence 11, 23, 30, 35, what i ...
分类:
其他好文 时间:
2017-07-28 15:38:17
阅读次数:
249