Run ID:85362
提交时间:2024-07-17 10:49:11
#include<iostream> using namespace std; int main(){ int n=1,k,j=0; cin>>k; while(1){ j++; n=n*j; if(n>k){ cout<<j; break; } } return 0; }