提交时间:2026-05-29 20:07:04
运行 ID: 442111
#include<bits/stdc++.h> using namespace std; int main(){ int n,k,s=1; cin>>n>>k; while(1){ s++; if(n>=k){ k*=s; }else{ break; } } cout<<k/s; return 0; }