Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155356 李铭洋 13求n的阶乘 C++ Accepted 1 MS 272 KB 177 2026-06-06 20:15:05

Tests(10/10):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { long long b; cin>>b; int v=b-1; while(v>=1) { b*=v; v--; } cout<<b; return 0; }