Tuesday, 8 May 2012

UVa 10499 The Land of Justice Solution

#include<stdio.h>
int main()
{
long long int n;
while(scanf("%lld",&n)==1 && n>=0)
{
if(n==1)
printf("0%%\n");
else
printf("%lld%%\n",n*25);
}
return 0;
}

No comments:

Post a Comment