自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

qqspeed

希望CCNU的ACM越来越好,再见!

  • 博客(19)
  • 问答 (1)
  • 收藏
  • 关注

原创 uva 11488 Hyper Prefix Sets

字典树水题。。。。。#include#include#include#include#include#include#include#includeusing namespace std;#define rep(i,s,t) for(int i=s;i<t;i++)#define N 500000struct node{ int next[2],num,len;

2014-04-30 19:54:38 1056

原创 poj 3411 Paid Roads

题目:http://poj.org/problem?id=3411

2014-04-30 19:35:32 754 3

原创 poj2763 Housewife Wind

题目:http://poj.org/problem?id=2763把树化成线段,x就好搞了....

2014-04-30 12:52:48 1027

原创 poj 2774 Long Long Message

题目:http://poj.org/problem?id=2774求两个字符串的最长公共子串

2014-04-30 10:38:13 652

原创 彩色石子

题目详情有一行彩色的棋子,每个棋子的颜色是k种颜色之一。你不能改变棋子的顺序,但是可以移走一些棋子。问至少移走多少个石子,才能使得两个同色的石子之间没有其他颜色的棋子?输入格式:多组数据,每组数据两行,第一行是两个整数n和k, 1下一行是n个在[1..k]范围内的正整数,代表每个棋子的颜色。输出格式:每组测试数据输出一行包含一个整数,表示至少移走

2014-04-30 10:00:37 1192

原创 poj 1201 Interals

题目:http://poj.org/problem?id=1201有n个要求,每个要求是

2014-04-30 09:25:12 595

原创 poj 2441 Arrange the Bulls

题目:http://poj.org/problem?id=2441

2014-04-30 09:13:15 806

原创 poj 2836 Rectangular Coverin

题目:http://poj.org/problem?id=2836在一个二位平面内,有y

2014-04-30 09:09:55 1086

原创 poj 1795 DNA Laboratory

题目:http://poj.org/problem?id=1795

2014-04-30 09:00:16 1648

原创 uva 11525 Permutation

题目:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2520找个简单的例子,k=3的时候:         2!        1!

2014-04-29 17:28:31 655

原创 hdu 4770 Lights Against Dudely

题目:http://acm.hdu.edu.cn/showproblem.php?pid=4770

2014-04-28 22:32:38 1277

原创 弱弱的只能活在小数据么?

呵呵......

2014-04-26 12:11:56 694 1

原创 Coder-Strike 2014 - Finals (online edition, Div. 2) D.Bug in Code

一道題意蠻好理解的題......想法:記錄下每個人被懷疑的

2014-04-23 09:02:07 809

原创 编程之美初赛第一场 树

题目2 : 树时间限制:4000ms单点时限:2000ms内存限制:256MB描述有一个N个节点的树,其中点1是根。初始点权值都是0。一个节点的深度定义为其父节点的深度+1,。特别的,根节点的深度定义为1。现在需要支持一系列以下操作:给节点u的子树中,深度在l和r之间的节点的权值(这里的深度依然从整个树的根节点开始计算),都加上一

2014-04-19 16:29:56 924

原创 Woj 1550 - D - Jewelry

题目n*m的矩阵里有

2014-04-16 14:13:17 687

原创 Woj 1551 - E - Pairs

题目链接n个数,m个查询,每次查询[L, R]zh

2014-04-15 19:47:08 625

原创 Woj 1553 G - Alchemy I

题目链接n个点,m种符咒,给每个点jiayige

2014-04-15 19:38:32 772

原创 Problem C. Minesweeper Master

ProblemMinesweeper is a computer game that became popular in the 1980s, and is still included in some versions of the Microsoft Windows operating system. This problem has a similar idea, but it do

2014-04-13 10:23:41 925

原创 Zoj 3768

题目:我暴力了些数据,发现答案的个数都没超过3,然后就

2014-04-06 17:41:39 1509 1

空空如也

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

TA关注的人

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