自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 CF 270 B - Design Tutorial: Learn from Life

#include#include#includeusing namespace std;int cmp(int a, int b){ return a > b;}int a[2005];int main(){ int n, k; while(~scanf("%d%d", &n, &k)) { for(int i = 1; i <

2014-09-29 21:17:52 828

原创 CF 270C - Design Tutorial: Make It Nondeterministic

#include#include#include#define N 100005using namespace std;string f[N], s[N];int main(){ int n; cin.sync_with_stdio(false); //ios::sync_with_stdio(0); while(cin >> n) {

2014-09-29 21:11:43 526

原创 hdu 5055

唯一的坑点在 hash【0】 == n-1,

2014-09-29 21:10:01 516

原创 大数模板

#include #include #includeusing namespace std;#define DIGIT 4 //四位隔开,即万进制#define DEPTH 10000 //万进制#define MAX 100typedef int bignum_t[MAX+1];/********************************

2014-09-28 13:42:18 431

原创 NOJ [1009] 连连看

卡了n久就是因为局部变量拷到整体变量那里之后,忘了删掉

2014-09-27 22:03:32 485

原创 250 B. The Child and Set

#include#includeint a[100005];int lowbit(int x){ return x & (-x);}int main(){ int sum, lim; while(~scanf("%d%d", &sum, &lim)) { memset(a, 0, sizeof(a)); int a

2014-09-25 22:48:39 586

原创 CF 250 C. The Child and Toy

刚看像MST, 其实不是,

2014-09-25 22:45:49 595

原创 CF 266 B. Wonder Room

传送门:http://codeforces.com/contest/466/problem/B

2014-09-16 02:24:38 908

原创 CF 266 C. Number of Ways

C. Number of Waystime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got array a[1], a[2], ..., a[n], consisting

2014-09-16 02:18:31 627

原创 POJ1129-Channel Allocation

折腾的好忧郁...大神的指针就是那么随意

2014-09-12 01:39:27 568 1

原创 hdu 4932Miaomiao's Geometry

强行卖萌...瞎搞各种暴力然后就卖萌了

2014-09-12 00:15:51 502

原创 hdu 1520 Anniversary party

树形dp入门,可简单理解成

2014-09-11 20:22:14 408

原创 CF 263div2 C. Appleman and Toastman

..

2014-09-09 19:59:25 643 2

原创 hdu 1598

#include #include #include using namespace std;const int maxn = 205;const int maxm = 1005;const int inf = 0x3f3f3f3f;#define min(a,b) ((a)<(b)?(a):(b))int n, m, s, t;int ans;int fa[maxn

2014-09-05 22:50:55 562

原创 hdu 2576

传送门:http://acm.hdu.edu.cn/showproblem.php?pid=2576

2014-09-05 22:13:04 474

空空如也

空空如也

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

TA关注的人

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