自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 CodeForces 730J Bottles (DP 01背包)

Bottles Time Limit:2000MS Memory Limit:524288KB 64bit IO Format:%I64d & %I64u SubmitStatusPracticeCodeForces 730J Description Nick has n bottles of soda left after his birthday. Each bottle

2016-10-27 21:52:35 1302

原创 HDU 4614 Vases and Flowers (线段树)

Vases and FlowersTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 3169 Accepted Submission(s): 1254Problem Description   Alice is so popular

2016-10-27 19:29:26 289

原创 CodeForces 730G Car Repair Shop (优先队列乱搞)

Car Repair Shop Time Limit: 2000MS Memory Limit: 524288KB 64bit IO Format: %I64d & %I64u SubmitStatusDescription Polycarp starts his own business. Tomorrow will be the first working day of

2016-10-27 19:26:21 888

原创 HDU 1540 Tunnel Warfare (线段树)

Tunnel WarfareTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7442 Accepted Submission(s): 2901Problem Description During the War of Resist

2016-10-24 22:51:20 314

原创 HDU 4027 Can you answer these queries? (线段树)

Can you answer these queries?Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 14079 Accepted Submission(s): 3269Problem Description A lot of

2016-10-22 17:48:47 341

原创 POJ 3264 Balanced Lineup (线段树)

Balanced Lineup Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu SubmitStatusPracticePOJ 3264 Description For the daily milking, Farmer John’s N cows (1 ≤ N ≤ 50,000) alwa

2016-10-20 22:46:00 248

原创 CodeForces 17E Palisection (回文树)

Palisection time limit per test2 seconds memory limit per test128 megabytes inputstandard input outputstandard output In an English class Nick had nothing to do at all, and remembered about wonder

2016-10-09 22:08:51 405

原创 HDU 5658 CA Loves Palindromic (回文树)

CA Loves PalindromicTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 374 Accepted Submission(s): 161Problem Description CA loves strings,

2016-10-04 13:40:00 681

原创 URAL 1960 Palindromes and Super Abilities (回文树)

Palindromes and Super Abilities Time Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u SubmitStatusDescription After solving seven problems on Timus Online Judge with a w

2016-10-04 10:59:10 349

转载 回文树模板

原文链接: http://blog.csdn.net/u013368721/article/details/42100363 回文树可以: 1.求串S前缀0~i内本质不同回文串的个数(两个串长度不同或者长度相同且至少有一个字符不同便是本质不同) 2.求串S内每一个本质不同回文串出现的次数 3.求串S内回文串的个数(其实就是1和2结合起来) 4.求以下标i结尾的回文串的个数那么我们该如何构

2016-10-03 20:38:26 405

原创 UVA 7041 The Problem to Slow Down You (回文树)

The Problem to Slow Down YouAfter finishing his homework, our problem setter Federmann decided to kill time by hanging around online. He found a cool chat room that discusses competitive programming. F

2016-10-03 20:32:03 555

原创 CodeForces 716D Complete The Graph (SPFA)

Complete The Graph Time Limit: 4000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64u SubmitStatusDescription ZS the Coder has drawn an undirected graph of n vertices numbered from 0

2016-10-01 20:42:55 425

空空如也

空空如也

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

TA关注的人

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