Run ID:2348
提交时间:2023-12-23 18:53:20
# 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; }