自定义博客皮肤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)
  • 收藏
  • 关注

原创 uva1493 - Draw a Mess 并查集路径压缩

It's graduated season, every students should leave something on the wall, so....they draw a lot of geometry shape with different color.When teacher come to see what happened, without getting angry,

2014-12-26 19:54:22 408

原创 Codeforces Round #283 (Div. 2) D. Tennis Game

D. Tennis Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya and Gena love playing table tennis. A single mat

2014-12-25 18:59:18 433

原创 uva11996 - Jewel Magic 伸展树

Problem JJewel MagicI am a magician. I have a string of emeralds and pearls. I may insert new jewels in the string, or remove old ones. I may even reverse a consecutive part of the string. At

2014-12-23 15:42:09 578

原创 uva11922 - Permutation Transformer 伸展树

Permutation Transformer Write a program to transform the permutation 1, 2, 3,..., n according to m instructions. Each instruction(a, b) means to take out the subsequence from thea-

2014-12-23 15:29:25 351

原创 伸展树

伸展树(Splay Tree),也叫分裂树,是一种二叉排序树,它能在O(log n)内完成插入、查找和删除操作。  旋转操作(左旋右旋)和前面的treap一样,伸展树最重要的操作是伸展操作,它把一个指定结点x自底向上旋转到根结点。分三种情况:    情况一:节点x的父节点y是根节点。这时,如果x是y的左孩子,我们进行一次Zig(右旋)操作;如果x是y的右孩子,则我们进行一次Zag(

2014-12-23 15:22:35 480

原创 uva1479 - Graph and Queries Treap名次树

You are given an undirected graph with N vertexes andM edges. Every vertex in this graph has an integer value assigned to it at the beginning. You're also given a sequence of operations and you need

2014-12-08 17:22:16 462

原创 uva12206 - Stammering Aliens 哈希LCP和后缀数组两种做法

Dr. Ellie Arroway has established contact with an extraterrestrialcivilization. However, all efforts to decode their messages have failed so farbecause, as luck would have it, they have stumbled upon

2014-12-01 17:43:20 902

一个自己觉得比较好看vim主题

本来是SolarizedLight,自己编辑了一下,觉得更合适

2015-12-13

表情多v0.2

用QT写的,水群必备。 表情多v0.2测试版 ,有意见欢迎吐槽。 ps: 1.请确保是64位系统 2.请安装在英文路径下 3.左键点击图片可以复制,右键可以收藏保存等 仅供娱乐 请勿用于任何商业用途。 博客地址:http://blog.csdn.net/corncsd 2014.6.20

2015-06-20

C++实现的最简单的倒排索引

绝对是最简单的,仅供参考,希望大家不要吐槽,不足之处希望大家指出=。=

2015-06-06

空空如也

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

TA关注的人

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