ACM
文章平均质量分 69
云乐仙er
这个作者很懒,什么都没留下…
展开
-
2.4 Encoding(编 码)
2.4 Encoding2.4.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.4.2 题目内容 Given a string containing only “A” – “Z”, we could encode it ...原创 2018-11-12 22:54:07 · 140 阅读 · 0 评论 -
2.10 Geometry Made Simple(简化几何计算)
2.10 Geometry Made Simple2.10.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.10.2 题目内容 Mathematics can be so easy when you have a computer. Con...原创 2018-11-12 22:56:55 · 351 阅读 · 0 评论 -
2.11 Reverse Text(反 转 文 本)
2.11 Reverse Text2.11.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.11.2 题目内容 In most languages, text is written from left to right...原创 2018-11-12 22:56:36 · 354 阅读 · 0 评论 -
2.15 Image Transformation(图 像 转 换)
2.15 Image Transformation2.15.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K2.15.2 题目内容 The image stored on a computer can be represented as...原创 2018-11-12 22:47:36 · 412 阅读 · 0 评论 -
2.3 Binary Numbers (二 进 制 数)
2.3 Binary Numbers 2.3.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.3.2 题目内容 Given a positive integer n, print out the positions of all ...原创 2018-11-12 23:03:00 · 336 阅读 · 0 评论 -
2.16 Beautiful Meadow(漂亮的草坪)
2.16 Beautiful Meadow2.16.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.16.2 题目内容 Tom has a meadow in his garden. He divides it into N ...原创 2018-11-12 22:46:38 · 346 阅读 · 0 评论 -
2.12 Word Reversal(反 转 单 词)
2.12 Word Reversal 2.12.1 链接地址 http://acm.zju.edu.cn/网上第 1151 题2.12.2 时空限制 Time limit: 1 Seconds Memory limit: 32768K2.12.3 题目内容 ...原创 2018-11-12 22:53:26 · 377 阅读 · 0 评论 -
2.19 Error Correction(错 误 纠 正)
2.19 Error Correction2.19.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.19.2 题目内容 A boolean matrix has the parity property when each row a...原创 2018-11-12 22:45:37 · 1408 阅读 · 0 评论 -
2.13 A Simple Question of Chemistry(一个简单的化学问题)
2.13 A Simple Question of Chemistry 2.13.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.13.2 题目内容 Your chemistry lab instructor is a very enthusiasti...原创 2018-11-12 22:53:50 · 246 阅读 · 0 评论 -
2.14 Adding Reversed Numbers(反转的数字相加)
2.14 Adding Reversed Numbers 2.14.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.14.2 题目内容 The Antique Comedians of Malidinesia prefer comedies to tra...原创 2018-11-12 22:53:42 · 649 阅读 · 0 评论 -
2.17 DNA Sorting(DNA 排 序)
2.17 DNA Sorting 2.17.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.17.2 题目内容 One measure of “unsortedness” in a sequence is the number...原创 2018-11-12 22:47:07 · 470 阅读 · 0 评论 -
1.10 排列对称串
1.10 排列对称串 1.10 题目内容字符串有些是对称的,有些是不对称的,请将那些对称的字符串按从小到大的顺序输出。字符串先以长度论大小,如果长度相同,再以 ASCII 码值为排序标准。输入描述:输入数据中含有一些字符串(1≤串长≤256)。输出描述:根据每个字符串,输出对称的那些串,并且要求按从小到大的顺序输出...原创 2018-11-12 23:03:13 · 367 阅读 · 0 评论 -
2.5 Look and Say(看 和 说)
2.5 Look and Say2.5.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K2.5.2 题目内容 The look and say sequence is defined as follows. Start with any s...原创 2018-11-12 23:06:40 · 767 阅读 · 0 评论 -
2.6 Abbreviation( 缩 写)
2.6 Abbreviation2.6.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.6.2 题目内容 When a Little White meets another Little White: Litt...原创 2018-11-12 23:02:51 · 636 阅读 · 0 评论 -
1.1 等 比 数 列
1.1 等 比 数 列1.1.1 题目内容已知 q 与 n,求等比数列之和: 。输入描述:输入数据不多于 50 对,每对数据含有一个整数 n(1≤n≤20)、一个小数q(0<q<2)。输出描述:对于每组数据 n 和 q,计算其等比数列的和,精确到小数点后 3 位,每个计算结果应单独占一行。...原创 2018-11-12 23:04:31 · 239 阅读 · 0 评论 -
1.2 菲波那契数
1.2 菲波那契数1.2 .1 题目内容 菲波那契(Fibonacci)数(简称菲氏数)定义为: (n>1且n∈整数)如果写出菲氏数列,则应该是:0 1 1 2 3 5 8 13 21 34 …如果求其第 6 项,则应为 8。求第 n 项菲氏数。输入描述:输入数据含有不多于 50 个的正...原创 2018-11-12 23:04:23 · 522 阅读 · 0 评论 -
1.5 对称三位数素数
1.5 对称三位数素数1.5.1 题目内容 判断一个数是否为对称三位数素数。所谓“对称”是指一个数,倒过来还是该数。例如,375 不是对称数,因为倒过来变成了 573。输入描述:输入数据含有不多于 50 个的正整数(0<n< )。输出描述:对于每个 n,如果该数是对称三位数素数,则输出“Yes”,否则输出“No...原创 2018-11-12 23:03:58 · 1070 阅读 · 0 评论 -
2.7 The Seven Percent Solution(七个百分比编码)
2.7 The Seven Percent Solution 2.7.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.7.2 题目内容 Uniform Resource Identifiers (or URIs) are strings like http...原创 2018-11-12 23:02:41 · 446 阅读 · 0 评论 -
2.8 Digital Roots(数 字 根)
2.8 Digital Roots2.8.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.8.2 题目内容 The digital root of a positive integer is found by summing the digi...原创 2018-11-12 23:02:32 · 465 阅读 · 0 评论 -
1.7 12!配对
1.7 12!配对1.7.1 题目内容 找出输入数据中所有两两相乘的积为 12!的个数。输入描述:输入数据中含有一些整数 n(1≤n< )。输出描述:输出所有两两相乘的积为 12!的个数。输入样例 1 10000 159667200 9696 38373635 1000000 479001600 ...原创 2018-11-12 23:03:33 · 772 阅读 · 0 评论 -
2.9 Box of Bricks(砖 盒)
2.9 Box of Bricks 2.9.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K2.9.2 题目内容 Little Bob likes playing with his box of bricks. He puts t...原创 2018-11-12 23:02:25 · 316 阅读 · 0 评论 -
1.8 五位以内的对称素数
1.8 五位以内的对称素数 1.8 题目内容 判断一个数是否为对称且不大于五位数的素数。输入描述:输入数据含有不多于 50 个的正整数 n(0<n< 32 2 )。输出描述:对于每个 n,如果该数是不大于五位数的对称素数,则输出“Yes”,否则输出“No”。每个判断结果单独列一行。输入样例 11 101 2...原创 2018-11-12 23:03:22 · 1227 阅读 · 0 评论 -
2.20 Martian Addition (火 星 加 法)
2.20 Martian Addition 2.20.1 时空限制 Time limit: 1 Seconds Memory limit: 32768K 2.20.2 题目内容 In the 22nd Century, scientists have discovered intell...原创 2018-11-12 22:45:22 · 362 阅读 · 0 评论