> 其他 >
用java求1000之内所有的 “水仙花数 “,所谓 “水仙花数 “是指一个三位数,其各位数字立方和等于该数本身
人气:164 ℃ 时间:2019-10-02 22:27:48
解答
package com.cn.liu.test;
public class shuixianhua {
/**求水仙花数
 * Liu
 * @param args
 */
public static void main(String[] args) {
for(int a=100;a
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版