View Code of Problem 87

#include<stdio.h>
int main()
{
	int a,min,max;
	scanf("%d",&a);
	min=a/4+(a%4)/2;
	max=a/2;
	printf("%d %d",min,max);
	return 0;

}

Double click to view unformatted code.


Back to problem 87