P2907 [USACO08OPEN] Roads Around The Farm S

题目描述

Farmer John's cows have taken an interest in exploring the territory around the farm. Initially, all N (1

输入格式

输出格式

说明/提示

There are 6 cows and the difference in group sizes is 2. There are 3 final groups (with 2, 1, and 3 cows in them). 6 / \ 2 4 / \ 1 3