Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163979 钱炜懿 15求n!>m C++ Accepted 1 MS 276 KB 180 2026-10-31 15:40:25

Tests(10/10):


Code:

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