Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
128544 胥博雯 n!大于k C++ Accepted 1 MS 272 KB 230 2025-08-18 11:15:16

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int k,n=1,b=1; cin>>k; while(1){ b*=n; if(b>k){ break; } n++; } cout<<n<<endl; return 0; }