Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163029 王垚植 15求n!>m C++ Accepted 2 MS 268 KB 204 2026-10-24 11:28:04

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int m; cin>>m; long long a=1; int n=1; while(a<=m){ n++; a=a*n; } cout<<n; return 0; }