Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
140992 李昱龙 15求n!>m C++ Accepted 0 MS 272 KB 156 2025-12-20 15:14:40

Tests(10/10):


Code:

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