官方帮助http://space.cnblogs.com/forum/topic/8550
注:如果自动配置没有成功,需要手动配置: a) 在“Type of weblog that you are
using”中选择“Custom(Metaweblog API)”。b) “Remote posti...
Sub 月汇总() Dim MyPath, MyName, AWbNameDim Wb As
Workbook, WbN As StringDim G As LongDim num As Long Application.ScreenUpdating =
FalseMyPath = ActiveW....
分类:
其他好文 时间:
2014-06-11 21:56:24
阅读次数:
398
感谢ZYF神犇的耐心解答……如果这题只要求最小代价……那就是一个比较明显的拆点最小割,对于所有\(j
11 #include 12 #include 13 #include 14 using namespace std; 15 typedef long long
LL; 16 const in...
分类:
其他好文 时间:
2014-06-11 12:00:44
阅读次数:
290
算术类型:整型(integral type)char : 一个机器字节(1BYTE =
8BIT)bool: 1 BIT整型: int:
与编译环境相关(不是机器),32位的编辑环境则长度为32BIT,故可以使用sizeof(int)来得到编译器环境的位数(返回的是字节长度)short/long/....
分类:
其他好文 时间:
2014-06-11 11:20:39
阅读次数:
175
#include "stdafx.h"#include long long ago;#define
好了开始讲故事了 int _tmain(){#define 今天就讲到这大家都散了吧 {return 0;}}#define 说(sentences) ...
分类:
其他好文 时间:
2014-06-11 10:04:25
阅读次数:
181
在C/C++写网络程序的时候,往往会遇到字节的网络顺序和主机顺序的问题。这时就可能用到htons(), ntohl(),
ntohs(),htons()这4个网络字节顺序与本地字节顺序之间的转换函数:htonl()--"Host to Network Long int"
32Bytesntohl.....
分类:
其他好文 时间:
2014-06-11 09:58:25
阅读次数:
328
解法:直接上模版。
扩展欧几里德的模版:
typedef long long LL;
LL ex_gcd(LL a,LL b,LL &x,LL &y)
{
if(b==0)
{
x=1;
y=0;
return a;
}
LL d=ex_gcd(b,a%b,x,y);
LL t=x;
x=y;...
分类:
其他好文 时间:
2014-06-08 16:56:35
阅读次数:
228
staticvoid TEACore(unsignedint in[2], unsignedint
out[2], unsignedint key[4], long rounds){unsigned int y = in[0], z =
in[1];unsigned int limit = 0, s...
分类:
移动开发 时间:
2014-06-07 22:56:46
阅读次数:
396
/** * 获得连续子数组的最大和 * * @author dfeng * */ private
static long getMax(long a, long b) { return a > b ? a : b; } /** *
获得连续子数组的最大和 * * @param array ...
分类:
其他好文 时间:
2014-06-07 21:21:30
阅读次数:
241
/** * 最大子数组的暴力求解算法,复杂度为o(n2) * @param n * @return
*/ static MaxSubarray findMaxSubarraySlower(int[] n) { long tempSum = 0; int
left = 0; int right = 0...
分类:
其他好文 时间:
2014-06-07 21:07:50
阅读次数:
250