Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70036 袁嘉蔓 n!大于k C++ Accepted 1 MS 276 KB 160 2024-04-13 11:48:29

Tests(10/10):


Code:

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