码迷,mamicode.com
首页 >  
搜索关键字:calculate    ( 959个结果
杭电1093(不会做)
Problem DescriptionYour task is to calculate the sum of some integers. InputInput contains an integer N in the first line, and then N lines follow. Ea...
分类:其他好文   时间:2015-04-20 20:46:06    阅读次数:133
杭电1001(人生路自己走)
Problem DescriptionIn this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n.InputThe input will consist of a series of integers n, one ...
分类:其他好文   时间:2015-04-20 16:43:17    阅读次数:94
杭电1090(今天的汗水会是你明天的成长)
Problem DescriptionYour task is to Calculate a + b.InputInput contains an integer N in the first line, and then N lines follow. Each line consists of ...
分类:其他好文   时间:2015-04-20 16:42:30    阅读次数:101
杭电1001
Problem DescriptionIn this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n.InputThe input will consist of a series of integers n, one ...
分类:其他好文   时间:2015-04-20 16:17:37    阅读次数:144
HUST信心大涨迎省赛之《我要冲银牌》K——字符串——Kia's Calculation
DescriptionDoctor Ghee is teaching Kia how to calculate the sum of two integers. But Kia is so careless and alway forget to carry a number when the su...
分类:其他好文   时间:2015-04-19 21:11:16    阅读次数:163
[编程之美]资格赛 B Palindrome
既然这个是资格赛,  时间也比较充裕, 我就讲解一下我做题的过程 Time Limit:2000ms Case Time Limit:1000ms Memory Limit:256MB Description Given a string, calculate the number of subsequences that are palindrome. ...
分类:其他好文   时间:2015-04-18 13:10:38    阅读次数:162
HDU 1003 - 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-04-16 17:17:35    阅读次数:124
HDU 3415 Max Sum of Max-K-sub-sequence(单调队列)
Problem Description Given a circle sequence A[1],A[2],A[3]......A[n]. Circle sequence means the left neighbour of A[1] is A[n] , and the right neighbour of A[n] is A[1]. Now your job is to calculate...
分类:其他好文   时间:2015-04-14 19:49:36    阅读次数:133
NOJ1545---New Year 2014(数位dp)
问题描述In the New Year 2014, Xiao Ming is thinking about the question: give two integers N and K, Calculate the number of the numbers of satisfy the following conditions: It is a positive integer and is n...
分类:其他好文   时间:2015-04-14 16:42:31    阅读次数:119
Swify闭包
闭包:是字包含的匿名函数代码块,可以做为表达式、函数参数和函数返回值,闭包表达式的运算结果是一种函数类型。类似于 C# Lambda 表达式。闭包表达式:{(参数列表)->返回类型 in 语句组}例如:fun calculate(opr:String)->(Int,Int)->Int{ var .....
分类:其他好文   时间:2015-04-12 11:55:15    阅读次数:116
959条   上一页 1 ... 73 74 75 76 77 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!