xの素因数一覧を返す
import std.range, std.algorithm; assert(equal(factorList(1), new int[0])); assert(equal(factorList(2), [2])); assert(equal(factorList(4), [2, 2])); assert(equal(factorList(24), [2, 2, 2, 3]));
See Implementation
xの素因数一覧を返す