Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
7906 刘逸杭 n!大于k C++ Accepted 0 MS 256 KB 174 2025-05-24 20:53:52

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int k,n=1,s=1; cin>>k; while(s<=k){ s*=n; n++; } cout<<n-1; return 0; }