标签: c++ matrix combinations permutation
示例示例:
a1 a2 a3 b1 b2 b3
预期产出:
a3a2a1, a3a2b1, a3b2a1, a3b2b1, b3a2a1, b3a2b1, b3b2a1, b3b2b1.
规则:
如何使用C ++解决此问题?