| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 152496 | 赵奕杰 | n!大于k | C++ | Accepted | 1 MS | 272 KB | 331 | 2026-04-26 14:38:39 |
#include <iostream> using namespace std; int main() { long long k; cin >> k; long long factorial = 1; int n = 1; while (true) { factorial *= n; if (factorial > k) { cout << n << endl; break; } n++; } return 0; }