c++练习
CW96
我们生活在大地上,但我们的梦想超越天空。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
杭州电子科技大学online judge 1040 As Easy As A+B
杭州电子科技大学online judge 1040 题 Problem Description These days, I am thinking about a question, how can I get a problem as easy as A+B? It is fairly difficulty to do such a thing. Of course, I got it afte...原创 2020-02-08 12:02:53 · 737 阅读 · 0 评论 -
杭州电子科技大学 online judge 1003 题 Max Sum
杭州电子科技大学 online judge 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), the max sum in this seq...原创 2020-02-08 16:54:18 · 2993 阅读 · 0 评论 -
杭电 online judge 1018:Big Number
杭州电子科技大学 online judge 1018 Problem Description In many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc...原创 2020-02-08 22:43:01 · 716 阅读 · 0 评论 -
杭电oj 1008 :Elevator
杭州电子科技大学 online judge 1008 Problem Description The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevato...原创 2020-02-09 09:15:44 · 502 阅读 · 0 评论 -
杭电oj 1071
杭州电子科技大学 online judge 1071 求积分,计算阴影面积 Problem Description Ignatius bought a land last week, but he didn’t know the area of the land because the land is enclosed by a parabola and a straight line. The ...原创 2020-02-10 15:35:25 · 381 阅读 · 0 评论 -
杭电oj 2015 偶数求和(c++)
偶数求和 Problem Description 有一个长度为n(n<=100)的数列,该数列定义为从2开始的递增有序偶数,现在要求你按照顺序每m个数求出一个平均值,如果最后不足m个,则以实际数量求平均值。编程输出该平均值序列。 Input 输入数据有多组,每组占一行,包含两个正整数n和m,n和m的含义如上所述。 Output 对于每组输入数据,输出一个平均值序列,每组输出占一行。 Samp...原创 2020-02-11 20:38:31 · 2208 阅读 · 1 评论 -
杭电OJ 2072 C++实现
杭电OJ 2072 单词数 Problem Description lily的好朋友xiaoou333最近很空,他想了一件没有什么意义的事情,就是统计一篇文章里不同单词的总数。下面你的任务是帮助xiaoou333解决这个问题。 Input 有多组数据,每组一行,每组就是一篇小文章。每篇小文章都是由小写字母和空格组成,没有标点符号,遇到#时表示输入结束。 Output 每组只输出一个整数,其单独成行...原创 2020-03-07 21:56:41 · 600 阅读 · 0 评论
分享