摘要: 有两种方法,递归和for循环 package com.hm.demo01; public class Test { public static void main(String[] args) { long result=func(10); System.out.println(result); } 阅读全文
posted @ 2022-03-27 13:55 SherryYuan 阅读(405) 评论(0) 推荐(0)