有人用过sony xperia play吗?# PDA - 掌中宝
a*a
1 楼
Given an array of integers from 1 to N, and given a number X, how many ways
are there to pick X elements from the array such that no two elements in the
selected X elements are consecutive.
are there to pick X elements from the array such that no two elements in the
selected X elements are consecutive.