pub fn permutations<T: Ord + Copy>(a: Vec<T>) -> impl Iterator<Item = Vec<T>>
辞書式順序でa以降の順列を列挙するイテレータを返す。
a