摘要: 前言今天晚上现在是12:38写了个递归程序解决了九度的一个二星题,自我感觉写的还不错,记录一下。解题思路:看懂英语,因为是英文描述的大整数的时候尽量用字符串存储,普通的就算是long long int类型一般都不够九度测试的长度(我就因为开始用了intWA了一次)题目描述: The 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 阅读全文
posted @ 2012-12-08 00:38 java程序员填空 阅读(193) 评论(0) 推荐(0) 编辑