码迷,mamicode.com
首页 >  
搜索关键字:calculate    ( 959个结果
ACM学习历程—HDU1003 Max Sum(dp && 最大子序列和)
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-05-12 18:44:10    阅读次数:129
Max Sum
Problem 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)...
分类:其他好文   时间:2015-05-12 15:18:08    阅读次数:89
ZOJ 3772 Calculate the Function(线段树+矩阵)
ZOJ 3772 Calculate the Function(线段树+矩阵)...
分类:其他好文   时间:2015-05-11 18:00:01    阅读次数:132
[HDOJ#1012]u Calculate e
Problem DescriptionA simple mathematical formula for e iswhere n is allowed to go to infinity. This can actually yield very accurate approximations o....
分类:其他好文   时间:2015-05-11 17:42:01    阅读次数:100
hdu5225---Tom and permutation(规律,枚举+乱搞)
Problem Description Tom has learned how to calculate the number of inversions in a permutation of n distinct objects by coding, his teacher gives him a problem: Give you a permutation of n distinct i...
分类:其他好文   时间:2015-05-10 09:50:12    阅读次数:211
解题报告 之 HOJ2276 SOJ2498 Count prime
HOJ2276, SOJ2498 ,Count prime,区间素数筛,数论 Given an integer interval [L, R](L <= R <= 2147483647, R - L <= 1000000), please calculate the number of prime(s) in the interval....
分类:其他好文   时间:2015-05-10 09:47:50    阅读次数:179
Max Sum(hd P1003)
Problem 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)...
分类:其他好文   时间:2015-05-10 06:18:27    阅读次数:154
Number Sequence
Number SequenceProblem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calculate the value of f(n).InputT...
分类:其他好文   时间:2015-05-08 22:08:18    阅读次数:144
1349: [Baltic2006]Squint
1349: [Baltic2006]SquintTime Limit:1 SecMemory Limit:64 MBSubmit:427Solved:248[Submit][Status][Discuss]DescriptionWrite a program to calculate integer...
分类:其他好文   时间:2015-05-08 12:16:52    阅读次数:110
Word Frequency
Write a bash script to calculate the frequency of each word in a text filewords.txt.For simplicity sake, you may assume:words.txtcontains only lowerca...
分类:其他好文   时间:2015-05-08 09:23:19    阅读次数:103
959条   上一页 1 ... 70 71 72 73 74 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!