挑战最短代码(违规紫衫)
查看原帖
挑战最短代码(违规紫衫)
1122029
icebear233楼主2024/8/12 09:41
#include<bits/stdc++.h>
using namespace std;int ans;void f(int now){if(!now){return;}ans*=now;f(now-1);}int main(){cin>>ans;f(ans-1);cout<<ans;return 0;}
2024/8/12 09:41
加载中...