自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

大咸鱼。。。

咸鱼。。想做后端。

  • 博客(23)
  • 收藏
  • 关注

原创 51nod 1202

1202 子序列个数题目来源: 福州大学 OJ基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 取消关注子序列的定义:对于一个序列a=a[1],a[2],......a[n]。则非空序列a'=a[p1],a[p2]......a[pm]为a的一个子序列,其中1例如4,14,2,3和14,1,2,

2016-10-31 19:23:05 324

原创 HDU 4268

Alice and BobTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4420    Accepted Submission(s): 1398Problem DescriptionAlice and Bob's

2016-10-30 20:03:14 354

原创 Codeforces Round #319 (Div. 2) B. Modulo Sum

B. Modulo Sumtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a sequence of numbers a1, a2, ..., an,

2016-10-29 16:31:07 361

原创 codefoces 722C - Destroying Array

C. Destroying Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array consisting of n non-negativ

2016-10-29 15:09:05 424

原创 HDU 4460 求任意两点最短距离的最大距离

Friend ChainsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5324    Accepted Submission(s): 1718Problem DescriptionFor a group of p

2016-10-27 16:21:35 578

原创 HDU 4462 状压枚举。

Scaring the BirdsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3563    Accepted Submission(s): 1110Problem DescriptionIt’s harvest

2016-10-27 15:57:15 390

原创 2016-2017 ACM-ICPC, NEERC, Southern Subregional Contest J Bottles

J. Bottlestime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputNick has n bottles of soda left after his birthday. Each b

2016-10-27 10:20:33 756

原创 HDU 2444 二分图的判断和无向图的二分匹配

The Accomodation of StudentsTime Limit: 5000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5504    Accepted Submission(s): 2512Problem DescriptionT

2016-10-25 21:53:44 605

原创 HDU 1827 强连通缩点

Summer HolidayTime Limit: 10000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3115    Accepted Submission(s): 1440Problem DescriptionTo see a World

2016-10-24 20:25:40 373

原创 HDU 5950 Recursive sequence

233333333

2016-10-24 17:20:14 805

原创 HDU 5800 Family View

Family ViewTime Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1500    Accepted Submission(s): 279Problem DescriptionSteam is a digital

2016-10-12 21:21:15 384

原创 HDU 3065 病毒侵袭持续中 ac自动机 统计文本串的单词和其出现的次数。

病毒侵袭持续中Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11762    Accepted Submission(s): 4118Problem Description小t非常感谢大家帮忙解决了他的上一个问题。

2016-10-12 19:29:44 335

原创 HDU 2896 病毒侵袭

病毒侵袭Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7400    Accepted Submission(s): 1945Problem Description当太阳的光辉逐渐被月亮遮蔽,世界失去了光明,大

2016-10-11 22:30:45 247

原创 HDU 5384 Danganronpa 多个串的ac自动机

DanganronpaTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1265    Accepted Submission(s): 653Problem DescriptionDanganronpa is a

2016-10-11 22:02:13 325

原创 HDU 2222 ac自动机入门模板题

Keywords SearchTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 56619    Accepted Submission(s): 18519Problem DescriptionIn the mod

2016-10-11 21:34:14 319

原创 HDU 5768 Lucky7 中国剩余定理+状压+容斥+快速乘法

Lucky7Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1550    Accepted Submission(s): 577Problem DescriptionWhen ?? was born, seven

2016-10-11 21:00:42 353

原创 HDU 4333 Revolving Digits 扩展kmp

Revolving DigitsTime Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25296    Accepted Submission(s): 5530Problem DescriptionOne day Sile

2016-10-11 20:36:33 324

原创 HDU 5884 k叉的哈夫曼 O(n)构造

SortTime Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1832    Accepted Submission(s): 458Problem DescriptionRecently, Bob has just lea

2016-10-09 22:32:12 400

原创 CSU 1632 最长公共前缀(出现超过两次的不同子串有多少个)

1632: Repeated SubstringsTime Limit: 5 Sec  Memory Limit: 128 MBSubmit: 83  Solved: 33[Submit][Status][Web Board]DescriptionString analysis often arises in applications from biology an

2016-10-09 18:40:14 429

原创 HDU 5726 GCD(rmq+二分)

GCDTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2930    Accepted Submission(s): 1058Problem DescriptionGive you a sequence of N(

2016-10-07 21:35:49 452

原创 HDU 5727

NecklaceTime Limit: 3000/1500 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2555    Accepted Submission(s): 806Problem DescriptionSJX has 2*N magic gems

2016-10-07 21:12:17 511

原创 java 练手= = 做杭电的一些简单题学习java。

HDU 2012//package com.code;import java.text.DecimalFormat; // DecimalFormat df = new DecimalFormat("#0.000");import java.util.Scanner;import java.math.*;import java.io.*;import java.text.*

2016-10-02 21:01:58 892

原创 Codeforces Round #374 (Div. 2) C. Journey

C. Journeytime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently Irina arrived to one of the most famous cities of

2016-10-01 15:53:02 352

空空如也

空空如也

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

TA关注的人

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