Showing posts with label UVa 11597 - Spanning Subtree. Show all posts
Showing posts with label UVa 11597 - Spanning Subtree. Show all posts

Monday, May 4, 2015

UVa 11597 - Spanning Subtree

// UVa 11597 - Spanning Subtree

#include <stdio.h>

int main() {
	int n, t = 0;
	while (scanf("%d", &n) && n) {
		t++;
		printf("Case %d: %d\n", t, n / 2);
	}
	return 0;
}