Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
330775 李俞家骅 【C1-5】最大的倍数 C++ 通过 100 1 MS 244 KB 171 2025-07-11 09:56:58

Tests(3/3):


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


测评信息: