Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
442111 陈信宇 【C1-5】最大的倍数 C++ 解答错误 0 2 MS 244 KB 189 2026-05-29 20:07:04

Tests(0/3):


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


测评信息: