Created
November 2, 2014 12:27
-
-
Save amoshyc/526e6696f2a90cc5d0a5 to your computer and use it in GitHub Desktop.
uva10499.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
int main() { | |
long long N; | |
while (scanf("%lld", &N) != EOF) { | |
if (N <= 0) break; | |
if (N == 1) | |
printf("0%%\n"); | |
else | |
printf("%lld%%\n", 25 * N); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment