自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

LP_Cong

你的努力程度还没到拼天赋的程度。

原创 GYM - 100812E World of Knights (线段树+二分)

World of Knights time limit per test 2.0 s memory limit per test 256 MB input standard input output standard output I ...

2017-11-30 23:56:48 180 0

原创 GYM - 100812D Dream of Sum (记录前缀和位置)

Dream of Sum time limit per test 2.0 s memory limit per test 256 MB input standard input output standard output Sometimes you must fall in...

2017-11-30 23:45:08 105 0

原创 GDUFS 2017信息学院程序设计新手赛(正式赛)题解

紧张刺激的新手赛结束了……有惊无险啊啊啊,虽然中途OJ炸了一次……很快就修复,感谢大家耐心的等待!一开始有的教室环境没装好,也感谢大家耐心的等待下载……毕竟我校第一次除了考试,搞这么大型的比赛…… 谢谢大家!!! 题解开始前,先向大家道个歉,题目还是很多误导人的地方,卡的点较多,导致很多人题没过。...

2017-11-26 21:01:30 736 0

原创 HihoCoder - 1632 Secret Poems (2017ICPC北京站 模拟)

#1632 : Secret Poems 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 The Yongzheng Emperor (13 December 1678 – 8 October 1735), was th...

2017-11-25 18:38:53 410 0

原创 HihoCoder - 1631 Cats and Fish (2017ICPC北京站 模拟)

#1631 : Cats and Fish 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 There are many homeless cats in PKU campus. They are all happy b...

2017-11-25 18:36:02 168 0

原创 HDU - 2457 DNA repair(AC自动机+DP)

DNA repair Problem Description Biologists finally invent techniques of repairing DNA that contains segments causing kinds of inherited dise...

2017-11-23 16:30:48 220 0

原创 HDU - 4117 GRE Words (AC自动机+Fail树+线段树+DFS序+DP)

GRE Words Problem Description Recently George is preparing for the Graduate Record Examinations (GRE for short). Obviously the most important...

2017-11-20 21:21:41 1604 1

原创 SPOJ - 7758 (MGLAR10 - Growing Strings)(AC自动机+DP 数组实现)

Gene and Gina have a particular kind of farm. Instead of growing animals and vegetables, as it is usually the case in regular farms, they grow string...

2017-11-20 16:12:42 150 0

原创 HDU - 2222 Keywords Search(AC自动机模板 指针实现)

Keywords Search Problem Description In the modern time, Search engine came into the life of everybody like Google, Baidu, etc. Wiskey also wants ...

2017-11-16 14:30:10 149 0

原创 HDU - 2609 How many (字符串的最小表示)

How many Problem Description Give you n ( n How many kinds of necklaces total have.(if two necklaces can equal by rotating ,we say the tw...

2017-11-15 22:46:32 170 0

原创 QML开发实例(二)Qt5.9 安卓环境配置

本教程适合所有Qt5的版本… 一、下载Qt5.9并安装Android模块 详见上一篇博客 二、下载Java和Android配置包 即 JDK,Android SDK,Android NDK 第一个是JAVA开发包,安装了这个才能使用JAVA语言开发软件,第二个是Android ...

2017-11-14 21:51:22 3422 9

原创 POJ - 2406 Power Strings(next数组妙用+后缀数组)

Power Strings Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "de...

2017-11-14 17:42:46 190 0

原创 HDU - 3746 Cyclic Nacklace (KMP模板)

Cyclic Nacklace Problem Description CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, with...

2017-11-14 16:37:39 129 0

原创 QML开发实例(一)Qt5.9安装与介绍

QML开发实例(一)Qt5.9安装与介绍

2017-11-13 18:12:36 1438 0

原创 HDU - 6223 Infinite Fraction Path (2017ICPC沈阳站 宽搜)

Infinite Fraction Path Problem Description The ant Welly now dedicates himself to urban infrastructure. He came to the kingdom of numbers a...

2017-11-13 14:01:04 229 0

原创 HDU - 6231 K-th Number (2017CCPC哈尔滨站 二分+尺取法)

K-th Number Problem Description Alice are given an array A[1..N] with N numbers. Now Alice want to build an array B by a parameter K a...

2017-11-12 20:26:07 1650 0

原创 HDU - 6235 Permutation (2017CCPC哈尔滨 思维)

Permutation Problem Description A permutation p1,p2,...,pn of 1,2,...,n is called a lucky permutation if and only if pi≡0(mod|pi−pi−2|) for...

2017-11-12 19:51:45 418 0

原创 HDU - 6237 A Simple Stone Game (2017CCPC哈尔滨站 思维)

A Simple Stone Game Problem Description After he has learned how to play Nim game, Bob begins to try another stone game which seems much easi...

2017-11-12 19:42:09 162 0

原创 HDU - 6228 Tree (2017ICPC沈阳站 深搜+思维)

Tree Problem Description Consider a un-rooted tree T which is not the biological significance of tree or plant, but a tree as an undirected...

2017-11-12 18:57:16 673 0

原创 Codeforces - 887D Ratings and Reality Shows (暴力模拟)

Ratings and Reality Shows time limit per test 2 seconds memory limit per test 256 megabytes input standard input output stand...

2017-11-08 19:00:40 271 0

原创 HDU - 1251 统计难题 (字典树模板)

统计难题 Problem Description Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀).   Input 输入数据的第一...

2017-11-08 16:59:07 106 0

原创 ZOJ - 3993 Safest Buildings (2017CCPC秦皇岛站 简单题)

Safest Buildings Time Limit: 1 Second      Memory Limit: 65536 KB PUBG is a multiplayer online battle royale video game. In the game, up to o...

2017-11-07 18:57:51 307 0

原创 ZOJ - 3985 String of CCPC (2017CCPC秦皇岛站 简单题)

String of CCPC Time Limit: 1 Second      Memory Limit: 65536 KB BaoBao has just found a string  of length  consisting of 'C' an...

2017-11-07 17:56:38 330 0

原创 ZOJ - 3981 Balloon Robot (2017CCPC秦皇岛站A题 思维)

Balloon Robot Time Limit: 1 Second      Memory Limit: 65536 KB The 2017 China Collegiate Programming Contest Qinhuangdao Site is coming! There wil...

2017-11-07 17:43:37 692 0

原创 2017 ACM-ICPC 青岛站 总结

青岛是一座美丽的城市,人杰地灵,希望你们能有所收获。 赛前,老师只用了一句话鼓励我们。我们能体会到老师很伤心,我们也很伤心。我们在青岛呆了一个星期,花了一天去了青岛的景点游玩,散散心。不得不说,青岛真的是一座美丽的城市,大海很美。散完心,我们就开始在宾馆训练,每天一套题,补题,学习。重拾...

2017-11-07 17:05:38 1450 2

原创 2017 ACM-CCPC 秦皇岛站 总结

周五中午飞机,在天津中转高铁。一下飞机给我的第一感觉就是……雾霾好大……这还是我第一次去这么北的地方。在天津也就呆了一两个小时,就坐高铁前往秦皇岛了!下了高铁才发现……好冷……北方的生活不太懂,才晚上九点半,马路上就没车没人了,不知道是不是我的错觉……去到旅馆收拾下就躺下准备明天的热身赛了。 ...

2017-11-07 16:33:08 725 2

原创 BZOJ - 4568 幸运数字 (树链剖分+线段树+线性基)

4568: [Scoi2016]幸运数字DescriptionA 国共有 n 座城市,这些城市由 n-1 条道路相连,使得任意两座城市可以互达,且路径唯一。每座城市都有一个幸运数字,以纪念碑的形式矗立在这座城市的正中心,作为城市的象征。一些旅行者希望游览 A 国。旅行者计划乘飞机降落在 x 号城市...

2017-11-02 18:17:01 184 0

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