鸡兔同笼,共有36个头,鸡脚比兔脚少42只,
设鸡兔x ,36-x只
2x = 4 (36-x) - 42
2x = 4x36 - 4x - 42
6x = 102
x = 17
36- 17 = 19
鸡兔各 17 19 只