🌈 搜索
📅  最后修改于: 2022-03-11 14:58:42.203000             🧑  作者: Mango
private static long factorial(int n){ if (n == 1) return 1; else return n * factorial(n-1); }