自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (3)
  • 收藏
  • 关注

原创 code for queue

#include #include using namespace std;template class MyQueue{private : stack in, out; void in_to_out();public : MyQueue(); void push(T data); void pop(); bo

2009-10-26 23:26:00 430

原创 C++ STL priority_queue

#include #include #include using namespace std;struct Greater{ bool operator() (int x, int y) { return x > y; }};struct Lesser{ bool operator()(int x, int y) { return x

2009-10-26 16:21:00 594

原创 数组排序

//poj 2785//在本机开320W的int数组,会提示错误。但提交OK。import java.util.*;import java.io.*;public class Main { public static int asc_lower_bound(int[] arr, int left, int right, int number) { int mid;

2009-10-22 21:57:00 422

原创 BigDecimal

//poj1001import java.io.*;import java.util.*;import java.math.BigDecimal;public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); BigDecimal a

2009-10-22 15:04:00 491

原创 BigInteger

//poj2389import java.io.*;import java.util.*;import java.math.BigInteger; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); BigInteger

2009-10-22 14:40:00 496

原创 double 的格式化 输出

// poj 2350import java.io.*;import java.util.*;import java.text.DecimalFormat; // add this.public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in

2009-10-22 14:30:00 1494

原创 AC自动机 hdu 2222

#include using namespace std;const int N = 10000;const int M = 26;const int fail = M+1;const int root = 0;const char ch = a;int trie[N*50][M+2], lt;int que[N*50], lq;void init(cons

2009-10-08 10:31:00 558

wy 大牛的网络流模板

网络流 模板库 最大流 最小费用流 预留推进

2009-10-07

浙江大学ACM模板库(pdf版,doc版,打包)

浙江大学ACM模板库(pdf版,doc版,打包) 浙大 ACM 代码库 模板库

2009-09-29

红黑树实现,C++源码

红黑树实现源码: xxxxxxxxxxxx 为什么资源描述需要大于 20 个字符

2009-09-24

空空如也

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

TA关注的人

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