Skip to content

Instantly share code, notes, and snippets.

@amoshyc
Created November 2, 2014 12:27
Show Gist options
  • Save amoshyc/526e6696f2a90cc5d0a5 to your computer and use it in GitHub Desktop.
Save amoshyc/526e6696f2a90cc5d0a5 to your computer and use it in GitHub Desktop.
uva10499.c
#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