Cod sursa(job #141930)

Utilizator andrei-alphaAndrei-Bogdan Antonescu andrei-alpha Data 23 februarie 2008 21:13:25
Problema Next Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include<stdio.h>
//#include<string.h>
long long n,k,h;
int main()
{
freopen("next.in", "r",stdin);
freopen("next.out", "w",stdout);
scanf("%lulu", &n);
scanf("%lulu", &k);
while(h<n) {h=h+k;}
printf("%lu",h);
	
return 0;
}