rev='made'/> name='keywords'/> name='author'/> ANURANAN: UVa Problem Solution 10633 - Rare Easy Problem

Welcome Note

Hi,
I'm Anisuzzaman Babla . I am a full stack Android Application Developer. I am working with Android for more than two years. I have completed my graduation from IIT, Jahangirnagar University. I have developed a series of commercially successful apps on Android. Moreover, 10+ of my Apps are live at Google play store. .
Thank You

UVa Problem Solution 10633 - Rare Easy Problem

#include<stdio.h>
int main()
{
unsigned long long nm,n,x;
while(scanf("%llu",&nm)==1)
{
if(nm==0)break;
x=(nm*10)/9;
if(nm%9==0)printf("%llu %llu\n",x-1,x);
else printf("%llu\n",x);
}
return 0;
}

No comments:

Post a Comment