以下是引用yannis在2006-1-10 9:47:00的发言:let C be no of cows, P be no of pigs. P+C = 60 x 2/3 = 40 For (1), P>2C, as only >, then no of P is at least 21 or above and C is atmost 40-21=19, can't determine the exact no of cows. For (2), P>12, no result can be reached. considering (1)+(2), (P,C) might be (21, 19), (22,18), (23, 17), (24, 16), (25,15), (26,14), (27,13). only (27, 13) fits the criteria of P>2C I am not sure whether it is the quickest way to get the answer, but hope it is helpful
怀疑条件2为c>12
否则你这个由调件1
(P,C) might be (21, 19), (22,18), (23, 17), (24, 16), (25,15), (26,14), (27,13).(28,12)(29,11)......
如果调件2是p>12得话(27,13).(28,12)(29,11)......都可以啊 |