Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149449 赖泓宇 13求n的阶乘 C++ Accepted 0 MS 276 KB 200 2026-03-13 18:11:41

Tests(10/10):


Code:

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