会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hu_YaYa
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
19
下一页
2020年4月15日
1096 Consecutive Factors (20分)【数学问题】
摘要: 1096 Consecutive Factors (20分) Among all the factors of a positive integer N, there may exist several consecutive numbers. For exa...
阅读全文
posted @ 2020-04-15 10:01 Hu_YaYa
阅读(12)
评论(0)
推荐(0)
2020年4月14日
1078 Hashing (25分)【hash、素数】
摘要: 1078 Hashing (25分) The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and outp...
阅读全文
posted @ 2020-04-14 20:39 Hu_YaYa
阅读(14)
评论(0)
推荐(0)
1088 Rational Arithmetic (20分)【分数的四则运算】
摘要: 1088 Rational Arithmetic (20分) For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate th...
阅读全文
posted @ 2020-04-14 12:45 Hu_YaYa
阅读(14)
评论(0)
推荐(0)
2020年4月13日
1081 Rational Sum (20分)【分数的四则运算】
摘要: 1081 Rational Sum (20分) Given N rational numbers in the form numerator/denominator, you are supposed to calculate their sum. Input...
阅读全文
posted @ 2020-04-13 17:22 Hu_YaYa
阅读(15)
评论(0)
推荐(0)
1049 Counting Ones (30分)【找规律】
摘要: 1049 Counting Ones (30分) The task is simple: given any positive integer N, you are supposed to count the total number of 1's in th...
阅读全文
posted @ 2020-04-13 16:07 Hu_YaYa
阅读(11)
评论(0)
推荐(0)
1104 Sum of Number Segments (20分)【找规律】
摘要: 1104 Sum of Number Segments (20分) Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For ...
阅读全文
posted @ 2020-04-13 13:40 Hu_YaYa
阅读(17)
评论(0)
推荐(0)
1069 The Black Hole of Numbers (20分)【数学问题】
摘要: 1069 The Black Hole of Numbers (20分) For any 4-digit integer except the ones with all the digits being the same, if we sort the di...
阅读全文
posted @ 2020-04-13 12:27 Hu_YaYa
阅读(25)
评论(0)
推荐(0)
2020年4月11日
1101 Quick Sort (25分)【空间换时间】
摘要: 1101 Quick Sort (25分) There is a classical process named partition in the famous quick sort algorithm. In this process we typicall...
阅读全文
posted @ 2020-04-11 19:30 Hu_YaYa
阅读(21)
评论(0)
推荐(0)
1093 Count PAT's (25分)【巧妙的字符串统计】
摘要: 1093 Count PAT's (25分) The string APPAPT contains two PAT's as substrings. The first one is formed by the 2nd, the 4th, and the 6t...
阅读全文
posted @ 2020-04-11 17:41 Hu_YaYa
阅读(1)
评论(0)
推荐(0)
1029 Median (25分)【序列合并】
摘要: 1029 Median (25分) Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the ...
阅读全文
posted @ 2020-04-11 16:25 Hu_YaYa
阅读(22)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
19
下一页
公告