N!AgainTime Limit : 2000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 23Accepted Submission(s) : 10Problem Descrip...
分类:
其他好文 时间:
2015-07-25 19:53:13
阅读次数:
288
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3822本场比赛之前,我记得。见WALK概率路DP称号。那么它应该是可以考虑的概率DP,十一还特意看了碍着,当场景。真的OUT了。然后好激动的样子,開始推得二维。然后感觉好难推。...
分类:
其他好文 时间:
2015-07-25 19:51:45
阅读次数:
139
前言尝试虚拟机使用socat建立服务器端接口转发时,发现对虚拟机接入网络原理不是非常了解,于是乎上网查找资料想搞明白是怎么回事,于是乎有了这篇总结博文。socat可以在服务器端口间建立全双工通信通道,可以用于端口数据转发,据说是Linux/Unix系统三大神器之一。虚拟机虚拟网卡连接模式1.桥接模式...
分类:
其他好文 时间:
2015-07-25 19:51:02
阅读次数:
253
题目传送门 1 /* 2 三分:凹(凸)函数求极值 3 */ 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 10 const int MAXN = 1e4 + 10;11 const int ...
分类:
其他好文 时间:
2015-07-25 19:51:41
阅读次数:
164
洛谷1114 “非常男女”计划本题地址:http://www.luogu.org/problem/show?pid=1114题目描述 近来,初一年的XXX小朋友致力于研究班上同学的配对问题(别想太多,仅是舞伴),通过各种推理和实验,他掌握了大量的实战经验。例如,据他观察,身高相近的人似乎比较合得来....
分类:
其他好文 时间:
2015-07-25 19:51:20
阅读次数:
512
题目传送门 1 /* 2 题意:求费马点 3 三分:对x轴和y轴求极值,使到每个点的距离和最小 4 */ 5 #include 6 #include 7 #include 8 #include 9 10 const int MAXN = 1e2 + 10;11 const i...
分类:
其他好文 时间:
2015-07-25 19:51:59
阅读次数:
125
很多事其实不存在唯一的答案,在这里,有关你,有关我,有关工作。关于平台好平台的诞生一定有它的时代和行业背景,符合了某种大势,顺势而为,让某些方面变得更好。好平台让技术与市场挂钩,市场利润和技术人员收入成正比。好平台是以事件为驱动的,为了完成一件彼此确信的事,平等、自由地工作。现在,在一个固定时间来到...
分类:
其他好文 时间:
2015-07-25 19:51:10
阅读次数:
138
1 package ThreadL; 2 3 import java.util.LinkedList; 4 5 class Queue extends LinkedList{ 6 int lenght; 7 public Queue(){ 8 ...
分类:
其他好文 时间:
2015-07-25 19:49:37
阅读次数:
104
bash代码:#!/bin/bashMySQLSTARTUP="/data/3306/mysql"DbProcessCount=`ps -ef|grep mysql|grep -v grep|wc -l`DbPortCount=`netstat -lnt|grep 3306|wc -l`if [ $...
分类:
其他好文 时间:
2015-07-25 19:49:10
阅读次数:
290
DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockb...
分类:
其他好文 时间:
2015-07-25 19:50:27
阅读次数:
161
题目传送门 1 /* 2 二分:搜索距离,判断时距离小于d的石头拿掉 3 */ 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 10 typedef long long ll;11 const...
分类:
其他好文 时间:
2015-07-25 19:49:23
阅读次数:
124
新的接口官方真是惜字如金~IShapeConstructorAvailable with ArcGIS Desktop.IShapeConstructorToolIndicator interface for tools that utilize shape constructors. Availa...
分类:
其他好文 时间:
2015-07-25 19:48:23
阅读次数:
140
题目传送门 1 /* 2 题意:给出一个数,问是否有ai + bj + ck == x 3 二分查找:首先计算sum[l] = a[i] + b[j],对于q,枚举ck,查找是否有sum + ck == x 4 */ 5 #include 6 #include 7 #incl...
分类:
其他好文 时间:
2015-07-25 19:49:45
阅读次数:
101
1 /// 2 /// Solution 3 /// 通过率 100% 4 /// 5 /// 6 /// 7 public static int solution(int[] ...
分类:
其他好文 时间:
2015-07-25 19:47:34
阅读次数:
155
1.求字符串中连续出现最多的字串pair substring(const string& str){ int i, j, k, len = str.length(), count, maxcount = 1; string substr; vector substrs; //...
分类:
其他好文 时间:
2015-07-25 19:48:41
阅读次数:
101
专心和细心真的很重要 #include#include#include#include#include#include#include#include#include#include#include#define max(a, b) a>b?a:b;#define min...
分类:
其他好文 时间:
2015-07-25 19:47:13
阅读次数:
129
正确写流程的总体步骤是,raid1接收上层的写bio,申请一个r1_bio结构,将其中的所有bios[]指向该bio。假设盘阵中有N块盘。然后克隆N份上层的bio结构,并分别将每个bios[]指向克隆出来一个bio结构,然后进行相应设置。 对于没有Write Behind模式而言,之后将所有这...
分类:
其他好文 时间:
2015-07-25 19:46:51
阅读次数:
171