Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99565 李佳璟 n!大于k C++ Accepted 0 MS 268 KB 175 2024-11-30 11:47:52

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; }