Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70037 邓嘉瑶 n!大于k C++ Accepted 1 MS 272 KB 155 2024-04-13 11:48:59

Tests(10/10):


Code:

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