think easy - combinatorial solution 回複:誰能用圖論來解這道題? 懇請牛人出著。

來源: 2010-08-15 21:46:19 [舊帖] [給我悄悄話] 本文已被閱讀:
72.

First permute 135 = 3!. For each permutation, place 6 and avoid adjacent with 3 = 2, then place 24=c(2,3)*2!=6 So tatol = 6*2*6 = 72