zcmu.oj-1268: 求整数的位数以及各位数之和

Description 输入一个正整数 repeat (0<repeat<10),作repeat 次下列运算: 输入一个整数,输出它的位数以及各位数之和。spa Input 见sampleip Output 见sampleio Sample Input 3 123456 20000 -1 Sample Output number=6,sum=21. number=5,sum=2. number=1
相关文章
相关标签/搜索