自定义博客皮肤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)
  • 资源 (6)
  • 问答 (1)
  • 收藏
  • 关注

原创 FZU2171 防守阵地 II (线段树)

Accept: 25 Submit: 98Time Limit: 3000 mSec Memory Limit : 32768 KB Problem Description部队中总共有N个士兵,每个士兵有各自的能力指数Xi,在一次演练中,指挥部确定了M个需要防守的地点,指挥部将选择M个士兵依次进入指定地点进行防守任务,获得的参考指数即为M个士兵的能力之和。随着时间的推移,指

2014-04-27 22:26:29 1063

原创 FZU 2169 shadow (用了一次邻接表存边,树形DP)

Accept: 28 Submit: 97Time Limit: 1000 mSec Memory Limit : 32768 KB Problem DescriptionYL是shadow国的国王,shadow国有N个城市。为了节省开支,shadow国只有N-1条道路,这N-1条道路使得N个城市连通。某一年,shadow国发生了叛乱,叛军占领了多个城市,王都岌岌可危。王都

2014-04-27 22:24:07 1089

原创 poj3345Bribing FIPA(树形DP,一道不错的题)

DescriptionThere is going to be a voting at FIPA (Fédération Internationale de Programmation Association) to determine the host of the next IPWC (International Programming World Cup). Benjamin Ben

2014-04-14 22:12:18 1513

原创 ZOJ Talented Chef

As we all know, Coach Gao is a talented chef, because he is able to cookM dishes in the same time. Tonight he is going to have a hearty dinner with his girlfriend at his home. Of course,Coach Gao

2014-04-12 19:27:53 1611

原创 ZOJ Ternary Calculation

Complete the ternary calculation. InputThere are multiple test cases. The first line of input contains an integer T indicating the number of test cases. For each test case: There is a string i

2014-04-12 19:26:09 1226

原创 ZOJ Access System

Time Limit: 2 Seconds Memory Limit: 65536 KB For security issues, Marjar University has an access control system for each dormitory building.The system requires the students to use their persona

2014-04-12 19:24:48 1651

原创 ZOJ What day is that day? (找最小周期)

It's Saturday today, what day is it after 11 + 22 + 33 + ... +NN days? InputThere are multiple test cases. The first line of input contains an integer T indicating the number of test cases. Fo

2014-04-12 19:22:47 1558

原创 ZOJ3768Continuous Login (等差求和公式+二分)

Pierre is recently obsessed with an online game. To encourage users to log in, this game will give users a continuous login reward. The mechanism of continuous login reward is as follows: If you have

2014-04-07 16:44:07 1278

原创 ZOJ3775 ?(>_o)!

?(>_o)! is a pseudo-object-oriented programming language. It implements the following commands:CommandDescription?Check whether the character '?' is in the program's source code.

2014-04-07 13:11:53 1303

原创 ZOJ3770

Few weeks ago, a famous software company has upgraded its instant messaging software. A ranking system was released for user groups. Each member of a group has a level placed near his nickname. The le

2014-04-07 13:08:02 1241

原创 hdu2196Computer(树形DP)

Problem DescriptionA school bought the first computer some time ago(so this computer's id is 1). During the recent years the school bought N-1 new computers. Each new computer was connected to one o

2014-04-06 22:56:19 1421

原创 hrbust2090背包(经典。。,想不到就有点难)

DescriptionDS最近刚学会了背包。比如,给一个序列,问是否存在一个子集满足元素和为 X, DS会用一种方法:int dp[X+1]; dp[0] = 1; for (int i = 0 ;i for (int j = 0 ; j < X ; ++j)if (dp[j] && j+a[i] return dp[X

2014-04-02 21:35:42 1152

代码行数统计工具

代码统计工具,在上面你可以选择一个代码文件夹,然后再进行代码统计,就可以知道你以前写过的所有代码,一共有多少行代码

2014-04-04

刘汝佳的黑书

黑书对于每个编程人员来讲,都是有必要去看的,里面的很多算法都是非常的红典,从中可以学到很多我们在书本上学不到的东西!

2014-04-04

背包九讲算法

背包九讲里面讲述了九种不同的背包类型,对于想学背包的人来说,这是一个不错的选择!

2014-04-04

C++写程序时用到的库函数

C++库函数里面描术了很多函数的名字和相应的功能,在写程序时可以很方便的进行调用!

2014-04-04

汇编DOS-MASM615

汇编安装包:如果想写汇编程序时,先安装些包,然后就可以在DOS下编程

2014-04-04

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

TA关注的人

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