提交时间:2024-06-22 08:56:30

运行 ID: 152048

#include <bits/stdc++.h> using namespace std; int main() { long long s = 1; int n; cin >> n; for (int i = 1; i <= n; i++) s *= (i * 1LL); cout << s << endl; }