自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

猿的进化

ACM~java~web~密码学

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

原创 UVALive 4015 树形dp

A - CavesTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVALive 4015 uDebugAppoint description: System Crawler  (Aug 31, 2016 11:09:27 P

2016-09-06 11:24:44 360

原创 hdu5416 树形dp 树上路径异或和

D - CRB and TreeTime Limit:4000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 5416Appoint description: System Crawler  (Aug 31, 2016 7:27:46 PM

2016-09-02 17:00:55 2021

原创 CF 369 div 2 —D 搜索+组合数

D. Directed Roadstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon has exp

2016-09-01 20:47:56 542

原创 hdu5402 模拟

D - Travelling Salesman ProblemTime Limit:1500MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 5402Appoint description: System Crawler  (Sep 1, 2

2016-09-01 19:57:19 292

原创 hdu5389 dp

C - Zero EscapeTime Limit:1000MS     Memory Limit:131072KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 5389Appoint description: System Crawler  (Aug 31, 2016 9:42:06 AM

2016-08-31 17:26:37 428

原创 hdu5387 钟表指针之间夹角

B - ClockTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 5387Appoint description: System Crawler  (Aug 31, 2016 9:42:02 AM)

2016-08-31 16:58:17 629

原创 hdu5375 dp

C - Gray codeTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 5375Appoint description: System Crawler  (Aug 27, 2016 6:33:50 PM)

2016-08-29 17:33:58 479

原创 hdu5723 最小生成树 树形dp

Abandoned countryTime Limit: 8000/4000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4607    Accepted Submission(s): 1153Problem DescriptionAn aba

2016-08-29 10:46:37 410

原创 hdu4607

点击打开链接Park Visit      Time Limit: 6000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3324    Accepted Submission(s): 1496Problem Descriptio

2016-08-29 10:13:32 440

原创 hdu5353

AverageTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2992    Accepted Submission(s): 720Special JudgeProblem DescriptionTher

2016-08-28 17:10:46 494

原创 hdu5326 树形dp

C - WorkTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 5326Appoint description: System Crawler  (Aug 24, 2016 8:38:50 AM)D

2016-08-25 14:52:25 314

原创 hdu5773 --2016多校第四场1010

The All-purpose ZeroTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1097    Accepted Submission(s): 271Problem Description?? get

2016-08-20 11:34:01 325

原创 多校感悟

涛哥说,来,我们写个感悟吧~~多校从上个月19号开始,也是就2016年7月19 号开始的,自从搞acm以来,第一次正式的参加多校的培训,第一天上午还赶上考试,web 期末考试,11点55交上卷子,12点10分左右到的实验室,当时其他队的大多到齐了,我急忙打开电脑,迅速的打开网站,登录网址,打印了一套题目(现在想想,真是没必要,一场最多出4个题,少的时候出0个),等队友回来后,又打印了两套题,记

2016-08-19 11:39:13 559 6

原创 poj 3020 --最小路径覆盖

H - Antenna PlacementTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit Status Practice POJ 3020DescriptionThe Global Aerial Research Centre has b

2016-08-17 15:30:30 345

原创 hdu1281-二分图匹配

D - 棋盘游戏Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1281Description小希和Gardon在玩一个游戏:对一个N*M的棋盘,在格子里放尽量多的一些国际象棋里面的“车”,并且

2016-08-17 11:03:31 273

原创 poj2195 -最小费用流

Going HomeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 21616 Accepted: 10919DescriptionOn a grid map there are n little men and n houses. In each uni

2016-08-15 20:12:09 303

原创 poj3436--网络流

ACM Computer FactoryTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7023 Accepted: 2484 Special JudgeDescriptionAs you know, all the computers used

2016-08-15 17:00:22 241

原创 hdu5821

BallTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 208    Accepted Submission(s): 125Problem DescriptionZZX has a sequence of b

2016-08-11 20:05:01 835

原创 hdu5818 模拟栈

Joint StacksTime Limit: 8000/4000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 673    Accepted Submission(s): 321Problem DescriptionA stack is

2016-08-11 08:45:48 314

原创 hdu5813

Elegant ConstructionTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 401    Accepted Submission(s): 202Special JudgeProblem Descripti

2016-08-10 10:45:34 354

原创 石子合并最快算法

#include #include #include #include #include #include using namespace std;const int N = 50005;const int INF = 0x7fffffff;typedef long long LL;int stone[N];int n,t;LL ans;void combine(in

2016-08-08 20:21:01 535

原创 hdu5805

NanoApe Loves Sequence  Accepts: 531  Submissions: 2481 Time Limit: 2000/1000 MS (Java/Others)  Memory Limit: 262144/131072 K (Java/Others)问题描述退役狗 NanoApe 滚回去学文化课啦!在数学课上,NanoApe 心痒痒又玩起了数列。

2016-08-08 15:36:19 342

原创 poj3252 数位dp

Round NumbersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 11955 Accepted: 4512DescriptionThe cows, as you know, have no fingers or thumbs and thus ar

2016-08-05 15:52:34 323

原创 2016多校第6场1010 --hdu5802 搜索-剪枝+贪心

Windows 10Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 754    Accepted Submission(s): 221Problem DescriptionLong long ago, th

2016-08-05 13:22:45 670

原创 51nod最长公共子序列

输入第1行:字符串A第2行:字符串B(A,B的长度 输出输出最长的子序列,如果有多个,随意输出1个。输入示例abcicbaabdkscab输出示例abca请选取你熟悉的语言,并在下面的代码框中完成你的程序,注意数据范围,最终结果会造成Int32溢出,这样会输

2016-07-02 18:27:27 457

原创 hdu4651

(OI)选手”——报考杭州电子科技大学!PartitionTime Limit: 6000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1099    Accepted Submission(s): 648Problem

2016-07-02 11:03:04 667

原创 ACdream1415--最短路,桥

C - Important RoadsTime Limit:2000MS     Memory Limit:64000KB     64bit IO Format:%lld & %lluSubmit StatusDescription      The city where Georgie lives has n junctions some of wh

2016-06-19 17:18:13 374

原创 web 购物 加减小程序

function add() { var a,b; a=buy.num.value; b=parseInt(a); b++; buy.num.value=b; } function sub(){ var a,b; a=buy.nu

2016-06-16 15:05:10 744

原创 一路二路最长单调递增子序列 hdu3998 + ACdream 1216

SequenceTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2120    Accepted Submission(s): 771Problem DescriptionThere is a sequenc

2016-06-13 11:31:46 324

原创 web 第一个程序

哇哈哈 光芒----> 编号歌曲在线播放点播次数 1海阔天空播放444 2匆匆那年播放5698 3传奇播放89999 3红豆播放123 把它放text文档里扩展名改成html,用网页

2016-06-02 14:54:01 336

原创 hdu2577

M - How to TypeTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionPirates have finished developing the typing software. He called Cat

2016-05-26 19:23:13 956

原创 hdu2514

L - FATETime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescription最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这

2016-05-25 15:11:19 439

原创 51nod1084 更难难得矩阵取数问题

分析: 只走一次的问题我们之前分析过。现在要走两次,有什么好办法呢? 我们设想,有两个人都从左上角走到右下角,这和走到终点再返回是一样的,我们可以dp么?怎么dp?先看看按照之前那种方法dp两次行不行? 看下图:如果第一条路径先找最优的,就要走路径(1,1)->(1,2)->(1,3)->(2,3)->(3,3)->(3,4)->(3,5)->(4,5)->(5,5)。但是这样

2016-05-24 18:42:05 844

原创 CodeForces 589J ——2015-2016 ACM-ICPC, NEERC, Southern Subregional Contest

J - Cleaner RobotTime Limit:2000MS     Memory Limit:524288KB     64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 589JDescriptionMasha has recently bought a cleaner

2016-05-24 11:28:40 629

原创 java计算器

package p1;import java.awt.BorderLayout;import java.awt.Font;import java.awt.GridLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;impor

2016-05-19 17:09:50 383

原创 hdu5188限制01背包

zhx and contestTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 731    Accepted Submission(s): 271Problem DescriptionAs one of th

2016-05-19 11:48:27 422

原创 S-DES加密

#include #include #include using namespace std;void P10_(int K[],int P10[],int K0[]){ for(int i=1;i<=10;i++) K0[i]=K[P10[i]];}void P8_(int K[],int P8[],int K0[]){ for(int i=1;i<=8;

2016-05-17 21:12:25 1839

原创 hdu1712分组背包

B - ACboy needs your helpTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionACboy has N courses this term, and he plans to spend at m

2016-05-17 20:25:08 283

原创 poj1276多重背包

D - Cash MachineTime Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1276DescriptionA Bank plans to install a machine for cash

2016-05-17 20:14:32 291

原创 01背包第k大价值hdu2639

A - Bone Collector IITime Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe title of this problem is familiar,isn't it?yeah,if you

2016-05-17 17:04:18 533

空空如也

空空如也

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

TA关注的人

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