P3084 [USACO13OPEN] Photo G
题目描述
Farmer John has decided to assemble a panoramic photo of a lineup of his N cows (1
输入格式
无
输出格式
无
说明/提示
There are 5 cows and 3 photos. The first photo contains cows 1 through 4, etc.
From the last photo, we know that either cow 3 or cow 4 must be spotted. By choosing either of these, we satisfy the first two photos as well.