最新文章列表

Codeforces Beta Round #96 (Div. 2)【完整题解】

KIDx 的解题报告 题目链接:http://codeforces.com/contest/133 以下省略头文件,前三题是水题,不解释 A题 #define M 105 char s[M]; int main() { bool flag; int i, len; while (gets (s)) { flag = false; len = strlen (s ...
基德KID.1412 评论(0) 有1481人浏览 2011-12-06 17:03

hdu 2577 How to Type(很爽很好玩的DP)

How to Type Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 842    Accepted Submission(s): 364 Problem Description Pirates have finished devel ...
gzhu_101majia 评论(0) 有1842人浏览 2011-08-27 21:46

hdu 2571 命运

命运 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2499    Accepted Submission(s): 893 Problem Description 穿过幽谷意味着离大魔王lemon已经无限接近了!可谁能想到,yifen ...
gzhu_101majia 评论(0) 有988人浏览 2011-08-27 21:34

hdu 2084 数塔(最基础最简单的DP)

 数塔 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7404    Accepted Submission(s): 4412 Problem Description 在讲述DP算法的 ...
gzhu_101majia 评论(0) 有1384人浏览 2011-08-27 21:26

hdu 3033 I love sneakers!(分组背包:每组至少一个)

I love sneakers! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 890    Accepted Submission(s): 381 Problem Description After months of hard w ...
gzhu_101majia 评论(0) 有1636人浏览 2011-08-15 11:29

hdu 1712 ACboy needs your help(我的第一个分组背包:每组至多一个)

ACboy needs your help Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 761    Accepted Submission(s): 374 Problem Description ACboy has ...
gzhu_101majia 评论(0) 有1359人浏览 2011-08-15 11:22

hdu 2159 FATE(我的第一个二维背包)

FATE Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1914    Accepted Submission(s): 808 Problem Description 最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在 ...
gzhu_101majia 评论(0) 有1384人浏览 2011-08-15 11:10

hdu 1059 Dividing(二进制转化优化)

Dividing Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5887    Accepted Submission(s): 1594 Problem Description Marsha and Bill own a collec ...
gzhu_101majia 评论(0) 有2172人浏览 2011-08-13 17:02

hdu 2191 珍惜现在,感恩生活(我的第一个多重背包)

悼念512汶川大地震遇难同胞——珍惜现在,感恩生活 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4215    Accepted Submission(s): 1690   Problem Description 急!灾区的食物依 ...
gzhu_101majia 评论(0) 有1804人浏览 2011-08-13 16:42

hdu 1114 Piggy-Bank(我的第一个完全背包)

Piggy-Bank Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2940    Accepted Submission(s): 1452 Problem Description Before ACM can do anything ...
gzhu_101majia 评论(0) 有4545人浏览 2011-08-13 16:35

hdu 2602 Bone Collector(我的第一个01背包)

Bone Collector Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7904    Accepted Submission(s): 2949 Problem Description Many years ago , in Te ...
gzhu_101majia 评论(0) 有1077人浏览 2011-08-13 16:28

HDU 1159 Common Subsequence .

Common Subsequence Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8893    Accepted Submission(s): 3578 Problem Description A subsequence of a ...
sgeteternal 评论(0) 有647人浏览 2011-07-31 20:03

HDU 2571 命运 .

命运 Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 9   Accepted Submission(s) : 4 Font: Times New Roman | Verdana | Georgia Font Size: ← → ...
DP 
sgeteternal 评论(0) 有915人浏览 2011-07-31 20:02

Android屏幕分辨率

尽量使用对齐方式布局; 尽量使用dp来定义padding margin; 少使用pixel来定义; 详细参考: http://blog.csdn.net/moruite/article/details/6028547 http://developer.android.com/guide/practices/screens_support.html
netbean77 评论(0) 有735人浏览 2011-07-29 16:43

oracle expdp 备份 多表 加条件

一般来说,expdp备份的步骤如下: 注:数据泵只能在oracle服务端使用,此处可以备份多个加条件的表 1、创建DIRECTORY create directory etl_dump as 'D:\oracle\dir_dp'; 2、授权 Grant read,write on directory etl_dump to etl_qy; 3、备份 expdp scott/tiger@orcl d ...
my_ora 评论(0) 有4645人浏览 2011-07-26 20:40

USACO Section 1.5.1 [Number Triangles] Java题解

题意分析: 数字三角形,找到从顶到底的最大和的通路。 解题思路: DP题。newRow[j]+= max(oldRow[j-1], oldRow[j])。从上至下。边读边计算,状态只需保存当前行和上一行。每一行首尾补零,为了方便计算。 代码实现: https://github.com/leonlu/USACOJavaSolution/blob/master/USACOSection1/src/n ...
leonluchen 评论(0) 有791人浏览 2011-07-15 21:21

USACO Section 1.1.4 [Broken Necklace] Java题解

题意分析: 一串项链,由红蓝白三种颜色的珠子串成。在某一点拆开项链,从这一点左端开始数连续相同颜色的最长长度,右端也做同样的计算(可以是与左端不同的颜色),求长度之和为最大时的值。(其中白色既可以认为是红色,也可以认为是蓝色。) 输入为wwwbbrwrb样式的字符串表示一串项链。由于项链是事实上首尾相连的,为了方便计算,将字符串乘以2拼接起来,即wwwbbrwrbwwwbbrwrb。 输出前需检验 ...
leonluchen 评论(0) 有1318人浏览 2011-07-06 20:41

最近博客热门TAG

Java(141747) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54918) .net(54785) Web(54513) 工作(54116) Linux(50906) Oracle(49876) 应用服务器(43288) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37268) 数据结构(36423)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics