Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
162353 冉骏杰 13求n的阶乘 C++ Accepted 1 MS 268 KB 160 2026-10-17 14:02:47

Tests(10/10):


Code:

#include<iostream> using namespace std; long long a,b = 1; int main (){ cin>>a; for(long long i = 1;i<=a;i++){ b = b*i; } cout<<b; return 0; }