标签:pac ios turn stream span mes clu == 阶乘
#include<iostream> using namespace std; long factorial(long n) { if (n == 0) { return 1; } else { return n*factorial(n - 1); } } int main() { cout << factorial(4) << endl; return 0; }
标签:pac ios turn stream span mes clu == 阶乘
原文地址:https://www.cnblogs.com/SlowIsFast/p/12579519.html