码迷,mamicode.com
首页 >  
搜索关键字:hdu1003    ( 37个结果
HDU1003
一个DP,DP还是要靠积累,输出格式略微坑爹 ...
分类:其他好文   时间:2017-03-09 17:15:44    阅读次数:141
hdu1003 dp
题目链接:http://acm.split.hdu.edu.cn/showproblem.php?pid=1003 ...
分类:其他好文   时间:2016-10-22 17:48:55    阅读次数:120
hdu1003 简单DP
Max Sum Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 208286 Accepted Submission(s): 48751 Prob ...
分类:其他好文   时间:2016-05-07 23:43:18    阅读次数:250
hdu1003 最大子串和
Max Sum Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 207874 Accepted Submission(s): 48646 Prob ...
分类:其他好文   时间:2016-05-05 00:41:40    阅读次数:199
hdu1003 dp 最大子数组
dp经典题,这题一年前就做过了,主要在确定begin和end有技巧,题目要求输出第一个sub,所以begin要尽量左移,end尽量右移 #include <iostream> #include <cstdio> #include <cmath> #include <cstring> #include ...
分类:编程语言   时间:2016-04-04 22:41:58    阅读次数:228
5thweek.problem_A hdu1003最大子段和
DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the ma...
分类:其他好文   时间:2015-08-15 22:48:01    阅读次数:130
hdu1003 最大连续子序和
DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the ma...
分类:其他好文   时间:2015-08-14 21:19:06    阅读次数:134
HDU 1003.Max Sum【最大连续子序列和】【8月14】
Max Sum Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is...
分类:其他好文   时间:2015-08-14 19:06:00    阅读次数:118
hdu1003 Max Sum(经典dp )
A -最大子段和Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calcula...
分类:其他好文   时间:2015-08-10 22:05:33    阅读次数:123
HDU1003
#include"stdio.h"int main(){ int nn; scanf("%d",&nn); for(int n=1;nmax){ max=temp; end=i; begin=...
分类:其他好文   时间:2015-08-08 16:16:48    阅读次数:84
37条   上一页 1 2 3 4 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!