Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78695 陈昊然 15求n!>m C++ Accepted 0 MS 272 KB 158 2024-06-25 18:54:54

Tests(10/10):


Code:

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