hdoj
文章平均质量分 91
HDU Online Judge
胖黄儿
这个作者很懒,什么都没留下…
展开
-
hdoj - 萌数的约数(数学问题)
一个数,如果他的素数因子只包括2,3,5,7,则称这个数为萌数,比如,下面这些数就是前20个萌数:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 27。现在给你一个萌数,请编程计算它的约数的个数。比如,4是一个萌数,他有3个约数(1,2,4);12也是一个萌数,他有 6 个约数(1,2,3,4,6,12)。原创 2021-01-24 03:19:48 · 675 阅读 · 0 评论 -
hdoj 1020 - Encoding(字符串处理)
原题链接:Problem - 1020题目描述Given a string containing only ‘A’ - ‘Z’, we could encode it using the following method:Each sub-string containing k same characters should be encoded to “kX” where “X” is ...原创 2020-05-03 00:27:27 · 295 阅读 · 0 评论 -
hdoj 2719 - The Seven Percent Solution(字符串处理)
原题链接:Problem - 2719题目描述Uniform Resource Identifiers (or URIs) are strings like http://icpc.baylor.edu/icpc/, mailto:foo@bar.org, ftp://127.0.0.1/pub/linux, or even just readme.txt that are used to i...原创 2020-05-02 22:16:58 · 174 阅读 · 0 评论 -
hdoj 1038 - Biker's Trip Odometer(简单数学计算)
题目描述Most bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attached to one of the spokes on the front wheel so that it will line up with t...原创 2020-05-01 00:50:52 · 202 阅读 · 0 评论 -
hdoj 1008 - Elevator(简单数学计算)
题目描述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 elevator will stop, in specified order. It costs ...原创 2020-04-27 00:35:08 · 220 阅读 · 0 评论