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