自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 ACM学习感悟——HUD5090(我也不知道我用的啥= =)

Description Tom and Jerry are playing a game with tubes and pearls. The rule of the game is: 1) Tom and Jerry come up together with a number K. 2) Tom provides N tubes. Within each tube, t

2015-04-26 13:25:13 704

原创 ACM学习感悟——HDU5092(dp)

Description Fish likes to take photo with his friends. Several days ago, he found that some pictures of him were damaged. The trouble is that there are some seams across the pictures. So he tried t

2015-04-26 13:19:50 667

原创 ACM学习感悟——暴力专场B(dfs)

Problem Description 小晴天非常漂亮的后花园,打算以后退休之后在里面种种花,养养草,所以现在小晴天打算为他的后花园围上栅栏。 小晴天的后花园可以看成是一个m*n的矩形,但是其中有一些地方种了树,这些地方都不能安装栅栏,现在小晴天把后花园的平面图告诉你了,请你帮忙设计一个最大的矩形栅栏。 Input 单组数据,第一行包括两个整数m,n(1 其中‘x’表示这

2015-04-19 11:18:36 974

原创 ACM学习感悟——暴力专场F(dp)

Problem Description 小晴天的后花园有好多好多的苹果树,某天,苹果大丰收~小晴天总共摘了M个苹果,我们假设苹果之间是不可分辨的。 为了保存苹果,小晴天买了N个一模一样的箱子,想要把苹果放进去,允许有的箱子是空的,请问小晴天有多少种不同的放法呢? 例如对于4个苹果,3个箱子,2+1+1和1+2+1和1+1+2 是同一种分法。 Input 多组数据,首先是一

2015-04-18 15:08:33 544

原创 ACM学习感悟——暴力专场E 暴力dp

Problem Description 小晴天:“我有一个数列!” 小晴天:“我还要有很多很多的数列!” 于是小晴天就把这个数列的所有连续子数列写出来。 然后小晴天把每个连续子数列中的最大的数写出来。 那么,有多少个比K大呢? Input 多组数据,首先是一个正整数t(t 对于每组数据,首先是两个整数n(1 接下来是n个整数a[i](1   Outpu

2015-04-18 11:33:06 691

原创 ACM学习感悟——摸底赛(并查集)

Problem Description 娜娜好不容易才回忆起自己是娜娜而不是什么Alice,也回忆起了自己要继续探索这个世界的目标,便偷偷溜出皇宫。娜娜发现这个王国有很多个民族组成,每个民族都有自己的方言,更要命的是这些方面差别还很远,这就导致这个王国的人民交流十分困难。娜娜仔细观察并记录了好久,发现总共有m种不同的语言。   突然娜娜发现前面有一群天才在讨论问题,但是奈何语言问题,导致

2015-04-12 23:25:59 677

原创 ACM学习感悟——Aizu2224 (kruskal 最大生成树)

Description Nicholas Y. Alford was a cat lover. He had a garden in a village and kept many cats in his garden. The cats were so cute that people in the village also loved them. One day, an evil

2015-04-11 14:45:21 577

原创 ACM学习感悟——POJ1258(kruskal)

Description Farmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the area. He needs your help, of course. Farmer John o

2015-04-09 21:15:47 392

原创 ACM学习感悟——POJ3723(kruskal,并查集)

Description Windy has a country, and he wants to build an army to protect his country. He has picked up N girls and M boys and wants to collect them to be his soldiers. To collect a soldier with

2015-04-09 19:23:49 400

原创 ACM学习感悟——POJ2139(Floyd)

Description The cows have been making movies lately, so they are ready to play a variant of the famous game "Six Degrees of Kevin Bacon". The game works like this: each cow is considered to be

2015-04-08 21:07:46 464

原创 ACM学习感悟——POJ3169(差分约束)

Description Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 <= N <= 1,000) cows numbered 1..N standing along a straight line waiting for feed. The c

2015-04-05 18:22:51 630

原创 ACM学习感悟——POJ1932(图论)

Description The prototypical computer adventure game, first designed by Will Crowther on the PDP-10 in the mid-1970s as an attempt at computer-refereed fantasy gaming, and expanded into a puzzle-or

2015-04-05 18:08:41 718

原创 ACM学习感悟——POF3255 (用SPFA求次短路)

Description Bessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home too quickly, because she likes the scenery a

2015-04-05 17:58:24 741

SpringMVC两种配置的Demo

SpringMVC两种配置的Demo

2017-03-02

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

TA关注的人

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