UVA Solution
Programming Contest Problems and Solutions
Monday, June 11, 2012
UVA Solution for 11877
//11877
//rank 481
#include<stdio.h>
int main()
{
long int cola,half,total;
while(scanf("%ld",&cola)==1)
{
if(cola==0)
break;
half=cola/2;
printf("%ld\n",half);
}
}
Newer Post
Older Post
Home