| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131592 | 李鸿文添 | 15求n!>m | C++ | Time Limit Exceeded | 1000 MS | 268 KB | 372 | 2025-09-28 18:45:42 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int m,n=1,sn=1; cin>>m; while(sn!=m){ n++; sn=sn*n; } cout<<n; return 0; }