杭电oj
PM进阶者
这个作者很懒,什么都没留下…
展开
-
杭电ACM 1020 Encoding
Problem DescriptionGiven a string containing only 'A' - 'Z', we could encode it using the following method:1. Each sub-string containing k same characters should be encoded to "kX" where "X" i原创 2014-05-18 21:58:06 · 1007 阅读 · 0 评论 -
杭电ACM 2029 Palindromes _easy version
原题地址:http://acm.hdu.edu.cn/showproblem.php?pid=2029原创 2014-05-31 18:08:51 · 793 阅读 · 0 评论 -
杭电ACM 2028 Lowest Common Multiple Plus
原题地址:点击打开链接原创 2014-05-30 18:05:36 · 793 阅读 · 0 评论 -
杭电ACM 2031 进制转换 栈实现
原题地址:http://acm.hdu.edu.cn/showproblem.php?pid=2031原创 2014-05-29 17:33:30 · 1078 阅读 · 0 评论 -
杭电ACM 1013 Digital Roots
Problem DescriptionThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resultin原创 2014-05-18 08:42:37 · 741 阅读 · 0 评论 -
杭电ACM 2015 偶数求和 算法分析详解 C++实现
Problem Description有一个长度为n(n Input输入数据有多组,每组占一行,包含两个正整数n和m,n和m的含义如上所述。 Output对于每组输入数据,输出一个平均值序列,每组输出占一行。 Sample Input3 24 2 Sample Output3 63 7问题描原创 2014-05-24 18:22:34 · 1784 阅读 · 0 评论 -
ACM 杭电 2050 折线分割平面
折线分割平面http://acm.hdu.edu.cn/showproblem.php?pid=2050Problem Description我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我们要求的是n条折线分割平面的最大数目。比如,一条折线可以将平面分成两部分,两条折线最多可以将平面分成7部分,具体如下所示。Input输入数据的第一行是一个整数C,转载 2014-06-07 18:09:01 · 949 阅读 · 0 评论 -
杭电ACM 2040 亲和数
原题地址:http://acm.hdu.edu.cn/showproblem.php?pid=2040原创 2014-06-05 17:51:45 · 658 阅读 · 0 评论 -
杭电ACM 2011 多项式求和 (C++)
原题地址:http://acm.hdu.edu.cn/showproblem.php?pid=2011原创 2014-06-04 22:44:42 · 1011 阅读 · 1 评论 -
杭电ACM 2032 杨辉三角
题目不作过多解释,这里采用C++提供的queue类实现原创 2014-05-31 16:55:07 · 948 阅读 · 0 评论 -
杭电ACM 1042 大数阶乘 N!
原题地址:http://acm.hdu.edu.cn/showproblem.php?pid=1042原创 2014-06-18 14:47:05 · 1209 阅读 · 1 评论