Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6042 | 吴承熹 | 15求n!>m | C++ | Compile Error | 0 MS | 0 KB | 179 | 2024-12-28 10:40:23 |
#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; }
Main.cc: In function 'int main()': Main.cc:4:11: error: expected unqualified-id before ',' token int n,,m,s=1; ^