码迷,mamicode.com
首页 >  
搜索关键字:calculate    ( 959个结果
HDOJ:1003
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 ...
分类:其他好文   时间:2018-07-25 11:30:56    阅读次数:165
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 ...
分类:其他好文   时间:2018-07-24 19:30:11    阅读次数:158
c++ primer 6 练习题 (非复习题)
第7章 7.13-1调和平均数 //7.13-1 excise.cpp 调和平均数 #include <iostream> double calculate(double a,double b); using namespace std; main(){ double x,y,z; cout<<"p ...
分类:编程语言   时间:2018-07-24 13:56:06    阅读次数:140
PAT 甲级 1001 A+B Format (20)(20 分)
Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less t ...
分类:其他好文   时间:2018-07-23 15:08:31    阅读次数:171
Sum Problem
Problem DescriptionIn this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n. Input The input will consist of a series of integers n, on ...
分类:其他好文   时间:2018-07-22 11:31:03    阅读次数:118
A+B Problem
Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in ...
分类:其他好文   时间:2018-07-22 11:27:34    阅读次数:105
Java实例---计算器实例
1.计算器上的键的显示名字 1.0 继承JFrame类 public class Calculate extends JFrame { } 1.1定义常量 /** 计算器上的键的显示名字 */ public final String[] KEYS = { "7", "8", "9", "/", "s... ...
分类:编程语言   时间:2018-07-17 23:28:39    阅读次数:229
HDU 1012 u Calculate e(简单阶乘计算)
传送门: http://acm.hdu.edu.cn/showproblem.php?pid=1012 u Calculate e Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Tota ...
分类:其他好文   时间:2018-07-15 13:46:53    阅读次数:141
最大连续元素之和
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 th... ...
分类:其他好文   时间:2018-07-11 22:58:02    阅读次数:243
A-max sum <HDU 1003>
A-max sum 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 ...
分类:其他好文   时间:2018-07-06 20:52:10    阅读次数:148
959条   上一页 1 ... 16 17 18 19 20 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!