Hdu 3709 Balanced Number

题目:http://acm.hdu.edu.cn/showproblem.php?pid=3709php 思路:平衡数。枚举平衡位置,记忆化搜索的方式记录已有的值。加剪枝,排除掉重复的0。ios #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #incl
相关文章
相关标签/搜索