Run ID:7906
提交时间:2025-05-24 20:53:52
#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; }