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",(n/k+1)*k);
    return 0;
}

 

posted @ 2016-07-18 14:31  Fighting_Heart  阅读(100)  评论(0编辑  收藏  举报