BobWednesday
V2EX  ›  问与答

传说中的“生成字符超时问题”

  •  
  •   BobWednesday · Dec 25, 2014 · 2054 views
    This topic created in 4243 days ago, the information mentioned may be changed or developed.
    假定字符串只由“0”,“1”,“*”组成,其中字符“*”表示该字符可由字符“0”或“1”替代。输入一些字符串,根据这些字符串生成所有可生成的字符串。
    例如:{10,0*}可生成 {10,01,00}
    {101,001,*01}可生成 {101,001}
    要具体实现,最好C++描述,有奖励哦
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1109 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:46 · PVG 07:46 · LAX 16:46 · JFK 19:46
    ♥ Do have faith in what you're doing.