| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 20949 | 邱修齐 | 求能被整除的最小整数 | C++ | Accepted | 100 | 0 MS | 252 KB | 188 | 2021-06-23 18:58:54 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n,a,b=-1; cin>>m>>n>>a; for(int i=m;i<=n;i++){ if(i%a==0) { b=i; break; } } cout<<b; return 0; }