Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99567 蔡佳轩 n!大于k C++ Accepted 1 MS 272 KB 186 2024-11-30 11:48:09

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