自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 hdu 5437 (优先队列)

解题思路: 自己按照自己的思路乱模拟时间超限,看了别人的题解学习学习首先对m次开门按t进行升序排序,然后优先队列模拟进门即可#include #include "stdio.h"#include "stdlib.h"#include "string.h"#include "algorithm"#include "queue"#define N 50005using n

2015-09-17 20:15:38 415

原创 POJ1142 暴力质因数分解+素数测试

#include #include "stdio.h"#include "stdlib.h"#include "string.h"#include "math.h"using namespace std;#define N 50005typedef   long long int ll;int primelist[1000]={0};int isprime(in

2015-09-17 20:08:54 565

原创 最小割s-w算法模板

#include #include "stdio.h"#include "stdlib.h"#include "string.h"#include "math.h"#include "algorithm"#include using namespace std;#define error 100000000int n,m; // n为点的总数  m为路径总数

2015-09-17 20:06:55 946

原创 匈牙利算法模板

#include #include "stdio.h"#include "stdlib.h"#include "string.h"#include "math.h"#include using namespace std;int result[400];//记录v2中点匹配的点的编号int state[400];//记录v2中的每个点是否被搜索过int  dat

2015-09-17 20:05:54 320

原创 快速幂模板

int  B_pow(int a,int b) //快速幂 {    int ans=1;    while(b)    {        if(b&1) ans*=a;        a*=a;        b>>=1;    }    return ans; }POJ 3070(矩阵快速幂)#include #include "

2015-09-17 20:03:56 329

原创 欧几里得模板以及扩展欧几里得

#include #include "stdio.h"#include "stdlib.h"#include "string.h"#include "math.h"using namespace std;#define N 50005 int  gcd(int a,int b){    if(b==0) return a;    else return

2015-09-17 20:01:26 411

原创 2015长春网络赛

1001 (优先队列)Alisha’s PartyTime Limit: 3000/2000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2665    Accepted Submission(s): 725Problem Descriptio

2015-09-17 19:52:48 471

原创 hdu1102 克鲁斯卡尔+并查集

#include #include #include #include "algorithm"using namespace std;int n,pos;int op[10000];int ed[10000];int dis[10000];int tmp[10000];int father[110];int cmp(int a,int b){return

2015-09-08 19:04:48 374

PopCon(泡泡堂)

用C++和DirectX实现的引擎和泡泡堂游戏

2017-03-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除