随笔分类 - 04.动态规划 - (3)数位DP
摘要:题目链接:http://www.spoj.com/problems/BALNUM/en/ Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balan
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4734 Time Limit: 1000/500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Descriptio
阅读全文
摘要:题目链接:https://cn.vjudge.net/problem/CodeForces-55D Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer numb
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3652 Problem Description A wqb-number, or B-number for short, is a non-negative integer whose decimal f
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4352 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Descripti
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3709 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others Problem Descripti
阅读全文
摘要:题目链接:https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1009 基准时间限制:1 秒 空间限制:131072 KB 给定一个十进制正整数N,写下从1开始,到N的所有正数,计算出其中出现所有1的个数。 例如:n = 12
阅读全文
摘要:题目链接: Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Problem Description The counter-terrorists found a time bomb i
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2089 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Descripti
阅读全文