P3105 [USACO14OPEN] Fair Photography S
题目描述
FJ's N cows (2
输入格式
无
输出格式
无
说明/提示
There are 5 cows. One of them is a white cow at position 8, and so on.
FJ takes a photo of the cows from positions 3 to positions 10. There are 4 cows in this range -- 3 white and 1 spotted -- so he needs to paint one of the white cows to make it spotted.