Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99568 秦浩然 n!大于k C++ Accepted 1 MS 272 KB 190 2024-11-30 11:48:34

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int n,k,a=1; cin>>k; n=0; while(a<=k){ n++; a=a*n; } cout<<n; return 0; }