Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66102 李明择 15求n!>m C++ Accepted 1 MS 272 KB 181 2024-03-02 14:59:34

Tests(10/10):


Code:

# include<iostream> # include<cmath> using namespace std; int main(){ int n,m,a=1; cin>>m; n = 1; while(a<m){ a*=n; n++; } cout<<n-1; return 0; }