Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6044 | 吴承熹 | 15求n!>m | C++ | Wrong Answer | 0 MS | 272 KB | 178 | 2024-12-28 10:40:45 |
#include<iostream> using namespace std; int main(){ int n,m,s=1; cin>>m; while(s<=m){ s*=n; n++; } cout<<n-1<<endl; return 0; }
------Input------
5400
------Answer-----
8
------Your output-----
4195088