3872链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3872
题目大意:给你n个数,问所有的连续的子序列中的所有元素的和(子序列中有相同元素只计算一次)(n
即若序列为1 2 3,则组成1,2,3,1 2,2 3,1 2 3,和为20;
若序列为1 2 2,则组成1,2,2,1 2,2 2,1 2 2,和...
分类:
其他好文 时间:
2015-04-29 17:18:53
阅读次数:
142
http://www.infoq.com/articles/agile-software-architecture-sketches-NoUMLIf you're working in an agile software development team at the moment, take a ...
分类:
其他好文 时间:
2015-04-29 17:02:49
阅读次数:
118
ZOJ 3870 Team Formation(位运算)...
分类:
其他好文 时间:
2015-04-28 21:02:10
阅读次数:
99
直接树形dp就好了恩令$f[i][j][t]$表示以$i$为根的子树,选出来的点存在$j$对父子关系,$t$表示$i$这个点选或者没选,的最大产奶值分类讨论自己和儿子分别有没有选,然后转移一下就好了。。。恩,详情看代码好了 1 /***********************************...
分类:
其他好文 时间:
2015-04-27 23:23:39
阅读次数:
162
一、网卡绑定:1:创建一个ifcfg-bond0#cd/etc/sysconfig/network-scripts/#viifcfg-bond0DEVICE=bond0TYPE=EthernetONBOOT=yesBOOTPROTO=staticIPADDR=10.5.20.13NETMASK=255.255.252.0GATEWAY=10.5.20.253BONDING_OPTS="mode=0miimon=100"##mode有多种模式实现不同的功能2:..
分类:
系统相关 时间:
2015-04-27 15:34:17
阅读次数:
170
Today’s post was written by Seth Patton, senior director of product management for the SharePoint team.In February, we shared our vision on the evolut...
分类:
其他好文 时间:
2015-04-27 00:11:01
阅读次数:
163
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 const int MM=100...
分类:
其他好文 时间:
2015-04-26 15:06:30
阅读次数:
143
题目传送门 1 /* 2 题意:找出符合 A^B > max (A, B) 的组数; 3 位运算:异或的性质,1^1=0, 1^0=1, 0^1=1, 0^0=0;与的性质:1^1=1, 1^0=0, 0^1=0, 0^0=0; 4 假设A B(即0^1=1)...
分类:
其他好文 时间:
2015-04-26 12:17:43
阅读次数:
138
Assemble
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 479 Accepted Submission(s): 169
Problem Description
Recently your team ...
分类:
其他好文 时间:
2015-04-25 22:47:38
阅读次数:
120
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define LL long long
#define INF 0x7fffffff
using namespace std;
int bit[100005...
分类:
其他好文 时间:
2015-04-25 19:52:34
阅读次数:
148