UVA 10499 - The Land of Justice

UVA Aug 31, 2020

Problem PDF

Solution:

#include
int main()
{
long long int n;
while(scanf("%lld",&n)==1 && n>=0)
{
if(n==1)
printf("0%%\n");
else
printf("%lld%%\n",n*100/4);
}
return 0;
}
https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/10499/10499.cpp

Tags

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.