Run ID:1879
提交时间:2023-11-25 22:34:52
# include<iostream> using namespace std; int main() { int k,s=1, n=0; cin>>k; while(true) { n++; s*=n; if(s>k) { break; } } cout<<n; return 0; }