测试提交功能

This commit is contained in:
Guan Inf 2025-06-02 15:48:15 +08:00
parent 1fa3bf3979
commit 8804e5a0e0

View File

@ -1,3 +1,4 @@
// 阶乘函数
int factorial(int number) {
return number <= 1 ? number : factorial(number - 1) * number;
}