CodeForces 678A Johny Likes Numbers

简单题。

#include<cstdio>
#include<cstring>
#include<cmath>
#include<algorithm>
#include<vector>
#include<queue>
#include<map>
#include<stack>
using namespace std;

int main()
{
    long long k,n;
    scanf("%lld%lld",&n,&k);
    printf("%lld
",(n/k+1)*k);
    return 0;
}
原文地址:https://www.cnblogs.com/zufezzt/p/5681097.html