/*异常: * Date: 2015/2/6 * Time: 18:54 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */using System;namespace Excep....
// ==UserScript==// @name acnya// @namespace http://acnya.github.io// @match http://*.acfun.tv/v/a*// @grant none// ==/UserScript==$.getScript('http:/...
分类:
其他好文 时间:
2015-02-06 20:11:18
阅读次数:
144
开发环境VS2005(VC8)
#include
#include
using namespace std ;
#include
#define ULONG unsigned long
//干扰数的意义
//当要连续调用rand的时候,几个rand关联性太强,可以rand()+干扰数
class IGanRaoShu //干扰数,取一个数,分布没有任何规律,可以重...
分类:
其他好文 时间:
2015-02-06 18:51:16
阅读次数:
171
解题思路:
开两个单调队列即可。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define LL long long
using namespace std;
const int maxn = 100000 + 10;
int A[ma...
分类:
其他好文 时间:
2015-02-06 18:49:32
阅读次数:
146
题意:求$0using namespace std;typedef long long ll;set s;int main() { ll n; scanf("%lld", &n); for(int i=1; i*i::iterator it=s.begin(); it!=s.end(); ++it)...
分类:
其他好文 时间:
2015-02-06 18:44:09
阅读次数:
187
这一系列的练习主要在Virtual Judge上进行,题目为小白书上的题目推荐。UVa 10055注意两个数的大小关系,水题。#include using namespace std;int main(){ long long x, y; while(cin >> x >> y) { if(x >....
分类:
其他好文 时间:
2015-02-06 18:36:33
阅读次数:
176
公式看不懂题意是给一串 1 12 123 1234 12345 123456 。。。。这样的数字问第i个数字是多少Sample Input283Sample Output22 1 #include 2 #include 3 #include 4 using namespace std; 5 unsi...
分类:
其他好文 时间:
2015-02-06 18:34:10
阅读次数:
97
题意:
给一个二分图,判断最大点独立集是否唯一。
分析:
匈牙利算法。
代码:
//poj 3342
//sep9
#include
#include
#include
using namespace std;
const int maxN=212;
int n;
int M,v1,v2;
bool g[maxN][maxN];
bool vis[maxN];
int link[...
分类:
其他好文 时间:
2015-02-06 16:48:09
阅读次数:
130
头文件
#pragma once
#include
using namespace std;
typedef int(FUNCPTRPA)(int rIndex);
typedef struct
{
int a;
int b;
}TEST1;
typedef struct
{
FUNCPTRPA*fun_send;
FUNCPTRPA*fun_reve;
int yx;...
分类:
编程语言 时间:
2015-02-06 15:02:16
阅读次数:
137
PHP的命名空间(namespace)是php5.3之后才有的。这个概念在C#中已经很早就有了,php中的namespace其实和c#的概念是一样的。 为什么php中要使用namespace? 假设如果不使用namespace,那么每个类在一个项目中的名...
分类:
Web程序 时间:
2015-02-06 13:24:35
阅读次数:
176