Print all K-element subsets of the set containing numbers from 1 to N. Input N and K. Visual Basic 6.0

前端 未结 0 793
被撕碎了的回忆
被撕碎了的回忆 2020-12-11 20:33

Example

N = 3 K = 2

All subsets of set is {}, {1}, {2}, {3}, {1;2}, {1;3}, {2;3}, {1;2;3}:<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题